Delete
/api/v1/push.token
Removes push token from the workspace.
Changelog
Version | Description |
---|---|
0.60.0 | Added |
Header parameters
X-Auth-Token
stringRequired
The authorization token of the user.
Example9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq
X-User-Id
stringRequired
The user ID of the user.
ExampleaobEdbYhXfu5hkeqG
Body parameters
Example
{
"token": "abc"
}
object
token
string
Responses
200
OK
Success Example
{
"success": true
}
object
success
boolean
400
Bad Request
Invalid Token Parameter
{
"success": false,
"error": "The required \"token\" body param is missing or invalid. [error-token-param-not-valid]",
"errorType": "error-token-param-not-valid"
}
object
success
boolean
error
string
errorType
string
401
Unauthorized
Authorization Error
{
"status": "error",
"message": "You must be logged in to do this."
}
object
status
string
message
string