Delete User Auth (user/master token)
POST https://{{base_url}}/graphql
Delete a user authentication
| Required token | Notes |
|---|---|
| User | obtained after creating a user (Mutations/Users/Create New User) and a user token (Mutations/Users/Create User Token) the user token is a persistent token (valid for 2 days) that should be securely stored in your application it must be passed as the bearer to retrieve the authentications for that user |
The mutation accepts the following as inputs:
| Input | Required | Notes |
|---|---|---|
| authenticationId | Yes | obtained with Queries/Users/Get User Authentications also see our guide to Mapping and Editing Auths |
| clientMutationId | No | Only relevant if using the Relay GraphQL client |
It can return the following data:
| Returned Data | Notes |
|---|---|
| clientMutationId | while this data is only relevant if using the Relay GraphQL client, it is actually required here as currently this mutation does not return any other data |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string | ||
Authorization | string |
RESPONSES
status: OK
{"data":{"removeAuthentication":{"clientMutationId":"some-mutaion-id"}}}