Application Tokens
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
403
Forbidden - Requires role: owner
No content
get/sfp/api/application-tokens
GET /sfp/api/application-tokens HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
403
Forbidden - Requires role: owner
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
namestringRequired
The name of the token
expiresInnumberRequiredDefault:
The expiration time of the token in days
30Responses
201
The created application token
No content
403
Forbidden - Requires role: owner
500
Internal server error
post/sfp/api/application-tokens
POST /sfp/api/application-tokens HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 30
{
"name": "text",
"expiresIn": 30
}No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
tokenstringRequired
The token to revoke
Responses
200
The token has been revoked
No content
403
Forbidden - Requires role: owner
500
Internal server error
delete/sfp/api/application-tokens/{token}
DELETE /sfp/api/application-tokens/{token} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?