Skip to main content

Get access right of roles for video permission

GET 

/bv/cms/v1/library/files/:id/permissions:role

Return the maximum access right of roles for the specified video resources.

Request

Path Parameters

    id stringrequired

    Required. The id of file.

Header Parameters

    x-bv-org-id stringrequired

    To invoke this API using api_token, you need to set the x-bv-org-id header to specify the organization for which you want to perform the action.

Responses

A successful response.

Schema
    access_role string

    Possible values: [ACCESS_ROLE_DENY, ACCESS_ROLE_SUPER_EDITOR, ACCESS_ROLE_EDITOR, ACCESS_ROLE_VIEWER]

    The maximum access role of the user for this file resource.

Loading...