C L I sign in
Collect a CLI sign-in
Request Body
application/json
Device code
device_code*string
Response Body
application/json
application/json
application/json
curl -X POST "https://app.boldvideo.io/api/v1/cli/logins/token" \ -H "Content-Type: application/json" \ -d '{ "device_code": "string" }'{
"status": "pending",
"user": {
"email": "string",
"name": "string"
},
"workspaces": [
{
"key": "string",
"name": "string",
"slug": "string"
}
]
}{
"code": "not_found",
"message": "Video not found",
"retryable": false,
"type": "error"
}{
"code": "not_found",
"message": "Video not found",
"retryable": false,
"type": "error"
}Start a CLI sign-in
Request Body
application/json
Sign-in request
client_name?string
Name of the machine asking, shown to the person approving
Response Body
application/json
application/json
curl -X POST "https://app.boldvideo.io/api/v1/cli/logins" \ -H "Content-Type: application/json" \ -d '{}'{
"device_code": "string",
"expires_in": 0,
"interval": 0,
"user_code": "KTRM-4XQ9",
"verification_url": "https://app.boldvideo.io/cli/KTRM-4XQ9"
}{
"code": "not_found",
"message": "Video not found",
"retryable": false,
"type": "error"
}End a CLI sign-in
Authorization
api_token AuthorizationBearer <token>
API token provided by BOLD Admin
In: header
Response Body
application/json
application/json
curl -X DELETE "https://app.boldvideo.io/api/v1/cli/session"Empty
{
"code": "not_found",
"message": "Video not found",
"retryable": false,
"type": "error"
}{
"code": "not_found",
"message": "Video not found",
"retryable": false,
"type": "error"
}