Delete provider credentials
Delete subscriber credentials for a provider such as **slack** and **FCM** by **providerId**. This action is irreversible and will remove the credentials for the provider for particular **subscriberId**.
Delete subscriber credentials for a provider such as slack and FCM by providerId. This action is irreversible and will remove the credentials for the provider for particular subscriberId.
Authorization
secretKey API key authentication. Allowed headers-- "Authorization: ApiKey <secret_key>".
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/subscribers/string/credentials/string"Update provider credentials PUT
Update credentials for a provider such as **slack** and **FCM**. **providerId** is required field. This API creates the **deviceTokens** or replaces the existing ones.
Register a device token POST
Idempotently register ONE **deviceToken** on the subscriber's **providerId** channel (e.g. **fcm**, **apns**). Re-registering the same token is a no-op (no duplicate). Pass **previousToken** to atomically swap a rotated token. On overflow the OLDEST tokens are dropped. Never wipes the channel — unlike a whole-array credentials update. The token travels in the body because it may contain URL-hostile characters.