v1

latestOpenAPI 3.0.32026-07-14314472448.6 KB
access_control

Set resource permissions for a built-in role.

Assigns permissions for a resource by a given type (:resource) and :resourceID to a built-in role. 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}/builtInRoles/{builtInRole}

Path parameters

resourcestring required
resourceIDstring required
builtInRolestring required

Request body

permissionstring

Response

An OKResponse is returned if the request was successful.

messagestring