Docs › API Reference › Communication Service › PUT /communication/push-tokens/{template_id}
PUT /communication/push-tokens/{template_id}
Update the activation status (is_active) of a specified push token. After deactivation, the token will no longer receive pushes; reactivation restores it. References: ePrivacy Directive 2002/58/EC, CAN-SPAM Act.
Communication Service `bearerAuth` application/json
Request Parameters
Name In Type Required Default Example Constraints Description
id
path
string
Yes
Push token ID
Request Body
Schema: dto.UpdatePushTokenRequest
Field Type Required Example Constraints Description
user_id
string
Yes
usr_abc123
is_active
boolean
No
True
Referenced Schemas
dto.OKResponse
Field Type Required Example Constraints Description
code
integer
No
0
message
string
No
success
dto.SimpleResponse
Field Type Required Example Constraints Description
code
integer
No
message
string
No
timestamp
string
No