access_control

Set resource permissions.

Assigns permissions for a resource by a given type (:resource) and :resourceID to one or many assignment types. Allowed resources are datasources, teams, dashboards, folders, and serviceaccounts. Refer to the /access-control/{resource}/description endpoint for allowed Permissions.

post/access-control/{resource}/{resourceID}

Request

  • Base URL
    /api (relative, and the document’s source URL is not known)
  • URL
    /api/access-control/{resource}/{resourceID}
  • Auth
    • HTTP basic
    • or API key in header Authorization

Path parameters

resourcestring required
resourceIDstring required

Request body

Response

An OKResponse is returned if the request was successful.

messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.