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)

Errors

Code Description
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
  }
]

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

Errors

Code Description
422 Unprocessable Entity: body has wrong attributes

Examples

REQUEST
Content-Type: application/json

RESPONSE
204 (OK)