Token

List all application tokens

get
Authorizations
Responses
200Success
get
GET /sfp/api/application-tokens HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*
200Success

No content

Revoke an application token

delete
Authorizations
Path parameters
tokenstringRequired

The token to revoke

Responses
200
The token has been revoked
delete
DELETE /sfp/api/application-tokens/{token} HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*

No content

Create a new application token

post
Authorizations
Body
namestringRequired

The name of the token

expiresInnumberRequired

The expiration time of the token in days

Responses
201
The created application token
post
POST /sfp/api/application-tokens HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 29

{
  "name": "text",
  "expiresIn": 1
}

No content

Last updated

Was this helpful?