SerenAI

Pay Per Call Agentic Commerce

AssignRoleRequest

Request to assign a role to a member

Properties

PropertyTypeRequiredDescription
role_id string,null No Either role_id or role_name must be provided
role_name string,null No Name of the role (owner, admin, editor, viewer, or custom role name)
View JSON Schema
{
  "type": "object",
  "description": "Request to assign a role to a member",
  "properties": {
    "role_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Either role_id or role_name must be provided"
    },
    "role_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Name of the role (owner, admin, editor, viewer, or custom role name)"
    }
  }
}