WorkOS

authorization.organization_memberships.role_assignments.create

Assign a role to an organization membership on a specific resource.

Remote workos

Other tools also called authorization.organization_memberships.role_assignments.create? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "role_slug": {
      "type": "string",
      "description": "The slug of the role to assign."
    },
    "resource_id": {
      "type": "string",
      "description": "The ID of the resource. Use either this or `resource_external_id` and `resource_type_slug`."
    },
    "resource_type_slug": {
      "type": "string",
      "description": "The resource type slug. Required with `resource_external_id`."
    },
    "resource_external_id": {
      "type": "string",
      "description": "The external ID of the resource. Requires `resource_type_slug`."
    },
    "organization_membership_id": {
      "type": "string",
      "description": "The ID of the organization membership."
    }
  }
}
          

Provider

WorkOS →