POST
/
api
/
refresh_user_group_token
/
curl --location --request POST 'https://api.explo.co/api/refresh_user_group_token/' \
--header 'Content-Type: application/json' \
--header 'Explo-Authorization: Token <token>' \
--data-raw '{
    "current_token": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}'
{
  "success": 1,
  "user_group": {
    "team_id": 3,
    "token": "<user_group_token_to_auth_dashboard>",
    "name": "Example 1",
    "provided_id": "example_1"
  }
}

The End User Group API is now deprecated and has been replaced by the Customer API. Each End User Group entity corresponds to a Customer entity, with its user_group_id corresponding to a Customer customer_id.

This API method has been replaced by Refresh Customer Token.

This endpoint refreshes a user group token. This is useful when you want to force a user group token to rotate because an existing one may be compromised.

Body

current_token
string

This is the current user group token you have for the user group that you want to rotate.

Response

success
number

Indicates whether the call was successful. 1 if successful, 0 if not.

user_group
object

The contents of the user group