Application Tokens

List all application tokens

get
Authorizations
Responses
200Success

No content

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

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

No content

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

Revoke an application token

delete
Authorizations
Path parameters
tokenstringRequired

The token to revoke

Responses
200

The token has been revoked

No content

delete
DELETE /sfp/api/application-tokens/{token} HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*

No content