Token
Authorizations
Path parameters
tokenstringRequired
The token to revoke
Responses
200
The token has been revoked
No content
500
Internal server error
delete
/sfp/api/application-tokens/{token}DELETE /sfp/api/application-tokens/{token} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Authorizations
Body
namestringRequired
The name of the token
expiresInnumberRequiredDefault:
The expiration time of the token in days
30Responses
201
The created application token
No content
500
Internal server error
post
/sfp/api/application-tokensPOST /sfp/api/application-tokens HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 30
{
"name": "text",
"expiresIn": 30
}No content
Last updated