RoleGetSchema – Management API – MediaKind

RoleGetSchema

  1. kind

    • Type: string (Optional)
    • Description: The kind of record.
  2. metadata

    • Type: object (RoleMetadataSchema) (Required)
      • categories
        • Type: list of strings (Required)
        • Description: Some capabilities apply to resources at the organization level, some apply only at the project level. This list suggests which categories of scope this role should be combined with.
      • id
        • Type: string (Required)
        • Format: uuid
        • Description: The ID of the resource.
      • name
        • Type: string (Optional)
        • Description: The name of the resource.
  3. spec

    • Type: object (RoleSpecSchema) (Required)
      • capabilities
        • Type: list of objects (RoleCapabilitySchema) (Optional)
          • capability
            • Type: string (Required)
            • Description: The name of the capability.
          • description
            • Type: string (Required)
            • Length: 0-256 characters
            • Description: A description of the role.