Update an API key's label, active status, expiration date, or scopes. Pass null for expires_at to remove expiration.
Security
Bearer
Expiration timestamp (ISO 8601). Pass null to remove the expiration and make the token non-expiring.
- Productionhttps://api-dashboard.influencers.club/public/v1/accounts/tokens/{token_id}/
curl -i -X PATCH \
'https://api-dashboard.influencers.club/public/v1/accounts/tokens/{token_id}/' \
-H 'Authorization: Bearer <YOUR_API_KEY_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"active": true,
"expires_at": "2019-08-24T14:15:22Z",
"scopes": [
"string"
]
}'Response
{ "id": 0, "name": "string", "scopes": [ "string" ], "active": true, "expires_at": "2019-08-24T14:15:22Z", "token": "string", "created_at": "2019-08-24T14:15:22Z", "last_used_at": "2019-08-24T14:15:22Z" }