Skip to content

Organization

organization_members_assign-role

Assigns a role to a member of a product

Tool

organization_members_assign-role

Assigns a role to a member of a product

Assigns a role to a member of a product

Behavior

HTTP
PUT /governance/api/v1/products/:productId/members/:memberId/role

Arguments

NameTypeRequiredDescription
roleIdstringNo description in the catalog.
memberIdstringNo description in the catalog.
productIdstringNo description in the catalog.

Response

FieldTypeAlwaysDescription
idstring
rolestring
roleIdstring
statusstring
userIdstring
agentIdstring
joinedAtstring
expiresAtstring
invitedAtstring
invitedBystring
productIdstring
grantSourcestring
permissionsobject

Try it

Assigns a role to a member of a product.

When to use

Assigns a role to a member of a product

Example

Ask your agent something like this:

Assigns a role to a member of a product.

The agent will invoke organization_members_assign-role with these arguments:

{
  "roleId": "<roleId>",
  "memberId": "<memberId>",
  "productId": "<productId>"
}

Esc

Start typing to search the docs.

navigateselect