For the complete documentation index, see llms.txt. This page is also available as Markdown.

PATCHpartial

Accept changed Rules and disclosure for a held connector grant

Resumes a held connector grant after the person accepts the exact current Rules and AI disclosure in their signed-in account. Requests carrying a bearer, a party token or an OAuth-derived session are refused. The replaced terms stay in termsHistory.

/api/authorizations/authority-grantsreacceptAccountConnectorGrant

Authentication and authority

Use one listed account-session, scoped OAuth, or partner credential alternative. Account tokens retain the approving account’s authority. Cookie-authenticated writes require same-origin authorization. Alternatives are OR; schemes in one alternative are AND.

CanonicalSession

The signed-in account’s session. Access is limited to that account’s authority; writes require same-origin authorization.

Parameters

This operation has no path, query, or header parameters.

Request body

Required request body.

application/json

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "accepted": {
      "type": "boolean",
      "enum": [
        true
      ]
    },
    "terms": {
      "$ref": "#/components/schemas/AccountOAuthTerms",
      "type": "object",
      "properties": {
        "rulesVersion": {
          "type": "string"
        },
        "rulesHash": {
          "type": "string"
        },
        "disclosureVersion": {
          "type": "string"
        },
        "disclosureHash": {
          "type": "string"
        }
      },
      "required": [
        "rulesVersion",
        "rulesHash",
        "disclosureVersion",
        "disclosureHash"
      ]
    }
  },
  "required": [
    "id",
    "accepted",
    "terms"
  ]
}

Responses

200

Successful operation.

application/json

{
  "type": "object",
  "properties": {
    "reaccepted": {
      "type": "boolean"
    },
    "grantId": {
      "type": "string"
    },
    "terms": {
      "$ref": "#/components/schemas/AccountOAuthTerms",
      "type": "object",
      "properties": {
        "rulesVersion": {
          "type": "string"
        },
        "rulesHash": {
          "type": "string"
        },
        "disclosureVersion": {
          "type": "string"
        },
        "disclosureHash": {
          "type": "string"
        }
      },
      "required": [
        "rulesVersion",
        "rulesHash",
        "disclosureVersion",
        "disclosureHash"
      ]
    }
  },
  "required": [
    "reaccepted",
    "grantId",
    "terms"
  ]
}
default

Authorization failure; consent_required means the displayed terms are no longer current, and reacceptance_not_required means the grant is not held.

application/json

{
  "$ref": "#/components/schemas/AccountOAuthError",
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "error_description": {
      "type": "string"
    }
  },
  "required": [
    "error"
  ]
}

Example response

Successful response

{
  "reaccepted": false,
  "grantId": "grantId_test",
  "terms": {
    "rulesVersion": "rulesVersion_test",
    "rulesHash": "rulesHash_test",
    "disclosureVersion": "disclosureVersion_test",
    "disclosureHash": "disclosureHash_test"
  }
}

Errors

Read the response status and stable error code. See errors and rate limits for recovery. Refresh the resource before resolving a state or digest conflict.

Idempotency and retries

  • For throttling, honor Retry-After when present. Back off on retryable server failures.
  • The request is accepted only when its credential, authority, case state, and resource preconditions are satisfied.