/v1/agentTokens/deleteToken
delete
Path Parameters
Request Headers
HttpEndpointRequestHeaders_AuthRequired_JsonContentType
Optional

FieldTypeRequiredDescription
AuthorizationstringYes

Access token

Example: Bearer <token>

Content-TypestringYes

HTTP JSON request content type

Example: application/json

Request Query
Request Body
DeleteAgentTokenEndpointParams
Optional

{
tokenId?: string
onReferenced?: boolean
providedResourceId?: string
workspaceId?: string
}
200 — Response Headers
HttpEndpointResponseHeaders_ContentType_ContentLength
Optional

FieldTypeRequiredDescription
Content-TypestringYes

HTTP JSON response content type

Example: application/json

Content-LengthstringYes

HTTP response content length in bytes

200 — Response Body
LongRunningJobResult
Optional

Long running job endpoint success result

{
jobId?: string
}
4XX or 5XX — Response Headers
HttpEndpointResponseHeaders_ContentType_ContentLength
Optional

FieldTypeRequiredDescription
Content-TypestringYes

HTTP JSON response content type

Example: application/json

Content-LengthstringYes

HTTP response content length in bytes

4XX or 5XX — Response Body
EndpointErrorResult
Optional

Endpoint error result

{
errors?: Array<OperationError>
}
OperationError
Optional

{
name: string
message: string
action?: string
field?: string
notes?: Array<EndpointResultNote>
}
EndpointResultNote
Optional

{
code: string
message: string
}