Nirmos
Retention exceptions

Create Retention Exception

Create Retention Exception — Nirmos Control Plane REST API.

POST
/v1/privacy/holds

Authorization

better-auth.session_token<token>

Production cookie uses __Secure- prefix.

In: cookie

Request Body

application/json

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/privacy/holds" \  -H "Content-Type: application/json" \  -d '{    "category": "memory_user",    "targetId": "string",    "authorityReference": "string",    "expiresAt": "2019-08-24T14:15:22Z"  }'
{  "data": {    "id": "string",    "category": "memory_user",    "targetId": "string",    "authorityReference": "string",    "reviewedBy": "string",    "expiresAt": "string",    "createdAt": "string"  },  "requestId": "string"}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}