Billing
Toggle BYOT mode
Enables or disables Bring Your Own Token (BYOT) mode for the active workspace. Requires admin or owner role.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
enabled*boolean
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3001/api/v1/billing/byot" \ -H "Content-Type: application/json" \ -d '{ "enabled": true }'{
"workspaceId": "string",
"byot": true
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}