GuidesAPI Reference
API Reference

Assign a role to an entity

Assign the role provided to the given entity. If the provided role is associated with a group, the entity being assigned the role must be a member of the associated group.


Access Control:

  • The calling principal must have "manageEntities" action permission for the resource "{role}" in the "authorization" service.
  • The calling principal MUST NOT include a project scope.
Path Params
string
required

HRN identifying a given role

string
required

HRN identifying a given entity

Responses

404

Role or entity not found

Language
Credentials
Bearer
JWT
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/json