Skip to content

Organization

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

NameTypeRequiredDescription
rolestringNo description in the catalog.
roleIdstringNo description in the catalog.
userIdstringNo description in the catalog.
productIdstringNo description in the catalog.

Response

FieldTypeAlwaysDescription
rolestring
userIdstring
productIdstring

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.

navigateselect