Skip to main content
POST
/
libraries
/
{libraryId}
/
migration-jobs
/
validate
Validate Credentials
curl --request POST \
  --url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/migration-jobs/validate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "provider": "vimeo",
  "credentials": {
    "access_token": "your_vimeo_access_token"
  }
}
'
{
  "message": "Credentials are valid",
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

libraryId
string
required

Unique identifier of the library.

Body

application/json
provider
string
required

Specifies the platform or service provider whose credentials need to be validated (e.g., 'vimeo', 'youtube', 'bunny').

credentials
object
required

Contains the authentication details required to verify access to the specified provider.

Response

message
string
required
success
boolean
required