MCP Control
Расчёт выплат · Чувствительное действие

Расчёт выплат · Доступ · Отзыв

payroll_access_revoke
Кассовый чек, калькулятор и монеты

Попробуйте три запроса

Подготовить
  1. Вы указываетеPrincipalid
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Расчёт выплат / Доступ / Отзыв». Для изменения нужны principalId. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
principalId
Параметр
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Расчёт выплат / Доступ / Отзыв» с параметром principalId = DEMO-101. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
principalId
DEMO-101
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Расчёт выплат / Доступ / Отзыв» по исходному ответу. Покажи companyId, access. Объясни, чем подтвердить эффект для выбранного объекта.
Как проследить одну попытку
  1. ЗапросСохранить исходный ключ
  2. ОтветПроверить статус
  3. ПроверкаСверить эффект операции
Как работает действие

Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.

Описание разработчика

Revoke an existing protected Payroll assignment in the current company. Native last-owner and administrative-role rules apply. Requires current access.manage in both Control and Payroll.

Параметры запроса
principalId
Native principalId value; use the value and type returned by the corresponding service. обязательно по схеме · string
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
companyId
Native companyId value; use the value and type returned by the corresponding service. обязательно по схеме · string
access
Native access value; use the value and type returned by the corresponding service. обязательно по схеме · null
assignment
Verified assignment returned by this mutation, including targets outside the first directory page. обязательно по схеме · null
members
Native members value; use the value and type returned by the corresponding service. обязательно по схеме · array · до элементов 20
nextOffset
Смещение для получения следующей страницы. обязательно по схеме · integer / null
sha256
Native sha256 value; use the value and type returned by the corresponding service. обязательно по схеме · string
nativeLimitReached
True when the native 500-member response cap was reached; do not infer a complete directory. обязательно по схеме · boolean
Поля и технические схемы
Входные поля и поля ответа payroll_access_revoke
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "principalId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native principalId value; use the value and type returned by the corresponding service."
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable request ID for these exact arguments. Keep it if the response is uncertain."
    }
  },
  "required": [
    "principalId",
    "requestId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "companyId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native companyId value; use the value and type returned by the corresponding service."
    },
    "access": {
      "anyOf": [
        {
          "$ref": "#/$defs/_mcp3"
        },
        {
          "type": "null"
        }
      ],
      "description": "Native access value; use the value and type returned by the corresponding service."
    },
    "assignment": {
      "anyOf": [
        {
          "$ref": "#/$defs/_mcp3"
        },
        {
          "type": "null"
        }
      ],
      "description": "Verified assignment returned by this mutation, including targets outside the first directory page."
    },
    "members": {
      "maxItems": 20,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp3"
      },
      "description": "Native members value; use the value and type returned by the corresponding service."
    },
    "nextOffset": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ],
      "description": "Native nextOffset value; use the value and type returned by the corresponding service."
    },
    "sha256": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$",
      "description": "Native sha256 value; use the value and type returned by the corresponding service."
    },
    "nativeLimitReached": {
      "type": "boolean",
      "description": "True when the native 500-member response cap was reached; do not infer a complete directory."
    }
  },
  "required": [
    "companyId",
    "access",
    "assignment",
    "members",
    "nextOffset",
    "sha256",
    "nativeLimitReached"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp3": {
      "type": "object",
      "properties": {
        "principalId": {
          "$ref": "#/$defs/_mcp0"
        },
        "role": {
          "$ref": "#/$defs/_mcp1"
        },
        "scopes": {
          "$ref": "#/$defs/_mcp2"
        },
        "active": {
          "type": "boolean",
          "description": "Native active value; use the value and type returned by the corresponding service."
        }
      },
      "required": [
        "principalId",
        "role",
        "scopes",
        "active"
      ],
      "additionalProperties": false
    },
    "_mcp0": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native principalId value; use the value and type returned by the corresponding service."
    },
    "_mcp1": {
      "type": "string",
      "maxLength": 30,
      "description": "Native role value; use the value and type returned by the corresponding service."
    },
    "_mcp2": {
      "maxItems": 30,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 80,
        "pattern": "^[a-z_.]+$"
      },
      "description": "Native scopes value; use the value and type returned by the corresponding service."
    }
  }
}