Skip to content

Rotate an agent's token

POST
/api/v1/admin/agents/{id}/token

Authorizations

session

Browser session cookie.

Type
API Key (cookie: bp_session)
or
apiKey

User API key: Authorization: Bearer bpi_...

Type
HTTP (bearer)

Parameters

Path Parameters

id*
Type
integer
Required
Format
"int64"

Responses

OK

application/json
JSON
{
  
"$schema": "https://bpincentives.com/schemas/Admin-rotate-tokenResponse.json",
  
"token": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI