Skip to content

organization_product_set-access

Grants an organization member access to a product, or changes the role they already hold, at a standard role (admin, member, viewer) or one of the organization's named roles.

Tool

organization_product_set-access

Grants an organization member access to a product, or changes the role they already hold, at a standard role (admin, member, viewer) or one of the organization's named roles.

Grants an organization member access to a product, or changes the role they already hold, at a standard role (admin, member, viewer) or one of the organization's named roles. The target must already be an active member of the product's organization; owner is transfer-only, and access inherited from an organization role is changed in the organization.

Behavior

HTTP
PUT /governance/api/v1/products/:productId/access/:userId

Arguments

Name
Type
Required
Description
role
string
—
No description in the catalog.
roleId
string
—
No description in the catalog.
userId
string
•
No description in the catalog.
productId
string
•
No description in the catalog.

Response

Field
Type
Always
Description
role
string
•
userId
string
•
productId
string
•

Try it

Grants an organization member access to a product, or changes the role they already hold, at a standard role (admin, member, viewer) or one of the organization's named roles.

When to use

Grants an organization member access to a product, or changes the role they already hold, at a standard role (admin, member, viewer) or one of the organization's named roles. The target must already be an active member of the product's organization; owner is transfer-only, and access inherited from an organization role is changed in the organization.

Example

Ask your agent something like this:

Grants an organization member access to a product, or changes the role they already hold, at a standard role (admin, member, viewer) or one of the organization's named roles.

The agent will invoke organization_product_set-access with these arguments:

{
  "userId": "<userId>",
  "productId": "<productId>"
}

Esc

Start typing to search the docs.

↑↓navigate↵select