Skip to main content

Overview

Deletes a Moment.

Request

Authentication Add authentication headers to the request. See Authentication

Method POST

Rate limit 100 requests/second

Endpoint https://API domain/apigateway/moments/del

Content-Type application/json

Request Parameters

ParameterData TypeRequiredDescription
user_idstringYesOperator user ID. Maximum length: 32 characters
moment_idsarrayYesIDs of the Moments posts to delete. Each ID can contain up to 32 characters.

Request Example

POST /apigateway/moments/del HTTP/1.1
appkey: appkey
Authorization: xxxxxxxxxxxxxxxxxx
Content-Type: application/json

{
"user_id":"userid1", // act as this user
"moment_ids":["xxxxxxxx","xxxxxx"]
}

Response Example

{
"code":0,
"msg":"sucess"
}

Response codes

Response codesDescription