ServiceTokens

Delete single service token

Changed on

Delete a single service token

delete/v1/service_token

Request

  • Base URL
    https://api.braintrust.dev
  • Auth
    • HTTP bearer
    • or none

Request body

idstring uuid required

Unique identifier for the service token.

Response

Returns the deleted service token object

idstring uuid required

Unique identifier for the service token

createdstring date-time nullable

Date of service token creation

namestring required

Name of the service token

preview_namestring required

Masked preview showing the token prefix and last four characters, e.g. bt-st-…AbCd.

service_account_idstring uuid nullable

Unique identifier for the service token

service_account_emailstring nullable

The service account email (not routable)

service_account_namestring nullable

The service account name

org_idstring uuid nullable

Unique identifier for the organization

expires_atstring date-time nullable

Date and time at which the service token expires. If null, the token never expires.

Changes