Atlassian · Schema

RoleAssignmentRequest

Request body for assigning or revoking product roles.

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
roles array
View JSON Schema on GitHub

JSON Schema

atlassian-roleassignmentrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RoleAssignmentRequest",
  "title": "RoleAssignmentRequest",
  "type": "object",
  "description": "Request body for assigning or revoking product roles.",
  "properties": {
    "roles": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "role": {
            "type": "string",
            "description": "The role to assign or revoke."
          },
          "resource": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "The resource identifier."
              },
              "type": {
                "type": "string",
                "description": "The resource type."
              }
            }
          }
        }
      },
      "example": []
    }
  }
}