Zoho Recruit

metadata.roles.updateOne

Update an existing Recruit role with new information

Remote zoho/recruit

Remote (network-hosted)

Other tools also called metadata.roles.updateOne? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "role": {
      "type": "integer",
      "format": "int64",
      "description": "The unique identifier of the role"
    },
    "roles": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 200,
            "description": "Display name of the role"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 250,
            "description": "Detailed description of the role"
          },
          "reporting_to": {
            "type": "object",
            "properties": {
              "id": {
                "type": [
                  "string",
                  "null"
                ],
                "maxLength": 19,
                "description": "Unique identifier of the parent role"
              }
            },
            "description": "Parent role information",
            "additionalProperties": false
          },
          "share_with_peers": {
            "type": "boolean",
            "description": "Whether this role can share data with peer roles"
          }
        },
        "description": "Role object with updated values",
        "additionalProperties": false
      },
      "maxItems": 1,
      "description": "Array of role objects to update"
    }
  }
}