Deputy · Schema

Response for updating an employee role

Workforce ManagementEmployee SchedulingTime and AttendanceTimesheetsHuman ResourcesShift PlanningAustraliaScheduling

Properties

Name Type Description
success boolean
message string
role object
View JSON Schema on GitHub

JSON Schema

deputy-v2-access-management-update-role-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/deputy/json-schema/deputy-v2-access-management-update-role-response-schema.json",
  "title": "Response for updating an employee role",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/deputy-access-management-role-api-openapi.yml#/components/schemas/v2AccessManagementUpdateRoleResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "message": {
      "type": "string"
    },
    "role": {
      "$ref": "#/$defs/tenantauthv2modelEmployeeRole"
    }
  },
  "$defs": {
    "modelEmployeeRoleOperations": {
      "type": "object",
      "properties": {
        "view": {
          "type": "boolean",
          "title": "Indicates if the Role can be viewed"
        },
        "edit": {
          "type": "boolean",
          "title": "Indicates if the Role can be edited"
        },
        "delete": {
          "type": "boolean",
          "title": "Indicates if the Role can be deleted"
        },
        "duplicate": {
          "type": "boolean",
          "title": "Indicates if the Role can be duplicated"
        },
        "viewHistory": {
          "type": "boolean",
          "title": "Indicates if the History of the Role can be viewed"
        }
      }
    },
    "tenantauthv2modelEmployeeRole": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32",
          "title": "Unique identifier of the role"
        },
        "name": {
          "type": "string",
          "title": "Name of the role"
        },
        "ranking": {
          "type": "integer",
          "format": "int32",
          "title": "Ranking of the role"
        },
        "require2fa": {
          "type": "boolean",
          "title": "Whether 2FA is required for this role"
        },
        "reportsTo": {
          "type": "integer",
          "format": "int32",
          "title": "Unique identifier of the role that this role reports to"
        },
        "alsoReportsTo": {
          "type": "array",
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "title": "Unique identifiers of the roles that this role also reports to"
        },
        "employeeCount": {
          "type": "integer",
          "format": "int32",
          "title": "[read-only] Number of employees assigned to this role"
        },
        "permissionCount": {
          "type": "integer",
          "format": "int32",
          "title": "[read-only] Number of permissions assigned to this role"
        },
        "privilegeNames": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "title": "Privileges assigned to this role"
        },
        "lastUpdatedAt": {
          "type": "string",
          "format": "date-time",
          "title": "Last modification time of the role"
        },
        "operations": {
          "$ref": "#/$defs/modelEmployeeRoleOperations",
          "title": "Operations that can be performed on the Role"
        },
        "acceptsReportees": {
          "type": "boolean",
          "title": "Indicates if the Role can be included in another role's \"report to\" or \"also reports to\" list"
        }
      },
      "title": "Role is assigned to employees and has permissions"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/deputy-v2-access-management-update-role-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.