Autional Autional
API Reference GitHub autional.com →

DELETE /communication/push-tokens/{template_id}

Deactivate a specified device push token (set is_active to false). After deactivation, the token will no longer receive push notifications; the user must re-register on next app open. References: ePrivacy Directive 2002/58/EC, CAN-SPAM Act.

Communication Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Push token ID

Responses

StatusDescriptionSchema
200Token deactivated successfullydto.OKResponse
400Invalid request parametersdto.SimpleResponse
401Unauthenticated or invalid tokendto.SimpleResponse
403Insufficient permissions to access this resourcedto.SimpleResponse
404Token not founddto.SimpleResponse
500Internal server errordto.SimpleResponse

Referenced Schemas

dto.OKResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No 0
message string No success

dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No