Manage YouTube Tokens for an Organization.

Supported Formats

json

GET https://api.vidyard.com/dashboard/api/v1/organizations/:id/youtube_tokens
Get an organization's youtube tokens

Get an organization’s youtube tokens (for using our other Youtube APIs)

Supported Formats

json

Errors

Code Description
400 Bad Request: body has wrong syntax or unable to handle request
401 Unauthorized: auth_token omitted or authentication failed
404 Not Found: The requested resource could not be found
406 Not Acceptable: Accept or Content-Type headers must be application/json, text/csv or application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
403 No youtube channels associated with this org
422 Unprocessable Entity: body has wrong attributes

Examples

REQUEST
Content-Type: application/json

RESPONSE
200 (OK)
[
  {
    "id": 3,
    "data": {
      "username": "test_name",
      "id": "lTx3G6h2xyA"
    },
    "organization_id": 17
  }
]

Params

Param name Description
auth_token
optional

API token needed to authorize requests
This can appear as an attribute in the body of the request or the query parameters on the URL

Validations:

  • Must be a String


DELETE https://api.vidyard.com/dashboard/api/v1/organizations/:id/youtube_tokens
Disconnect all Youtube accounts associated with an organization

Disconnect all Youtube accounts associated with an organization

Supported Formats

json

Errors

Code Description
400 Bad Request: body has wrong syntax or unable to handle request
401 Unauthorized: auth_token omitted or authentication failed
403 Forbidden: This action cannot be performed
404 Not Found: The requested resource could not be found
406 Not Acceptable: Accept or Content-Type headers must be application/json, text/csv or application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
422 Unprocessable Entity: body has wrong attributes

Examples

REQUEST
Content-Type: application/json

RESPONSE
204 (OK)

Params

Param name Description
auth_token
optional

API token needed to authorize requests
This can appear as an attribute in the body of the request or the query parameters on the URL

Validations:

  • Must be a String