Skip to Content
Xeonr Developer Docs
API SpecificationReserved names

Revoke Reservation Credential

POST
/xeonr.burrow.v1.ReservationService/RevokeReservationCredential

Revokes one agent credential of a name the team holds itself. A session it already opened is closed, and its reconnect is refused; a session another credential opened on the same name is left up. An id that is not one of this name's credentials is not_found.

Refused with permission_denied for a name a product manages. Needs the editor role. Like CreateReservationCredential, it takes burrow:tokens:admin, which no API key carries.

Required scopes: burrow:tokens:admin

Authorization

BearerAuth
AuthorizationBearer <token>

A Xeonr Auth access token whose audience is this API, or a team API key (xk_…), presented as Authorization: Bearer ….

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

team?string
Lengthlength <= 128
reservation?string

Reservation is the id or the name.

Length1 <= length <= 128
id?string

Id is the credential's URN.

Length1 <= length <= 128
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://burrow.prod.wtf/xeonr.burrow.v1.ReservationService/RevokeReservationCredential" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{}