Update a legal term

PATCH/legal-terms/{legal_term_id}

Replaces the body of a legal term. Setting body to null removes the legal term; subsequent requests for it return 404.

Changing the text does not invalidate acceptances already recorded, and users are not asked to accept the term again.

Send the ETag returned by the retrieve operation in the If-Match header to avoid overwriting a newer version. Legal terms of replicated accounts and replicated products are read-only.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Path Parameters

legal_term_id*string

Header Parameters

If-Match?string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/legal-terms/string" \  -H "Content-Type: application/json" \  -d '{    "body": {      "blocks": [        {}      ]    }  }'
{  "data": {    "acceptances_count": 0,    "body": {      "blocks": [        {}      ]    },    "id": "string",    "object": "legal_term",    "product_id": "string",    "revision": "string",    "scope": "platform",    "title": "string",    "updated_at": "2019-08-24T14:15:22Z"  }}