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

言語
認証情報
Bearer
JWT
LoadingLoading…
応答
試してみる!をクリックしてリクエストを開始し、こちらで応答をご確認ください! または例を選択:
*/*
application/json