PATCH
/
v1
/
custom-object
curl --request PATCH \
  --url https://platform.thena.ai/v1/custom-object \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-org-id: <api-key>' \
  --data '{
  "objects": [
    {
      "id": "<string>",
      "version": 123,
      "updates": {
        "name": "<string>",
        "description": "<string>"
      }
    }
  ]
}'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "organizationId": "<string>",
      "teamId": "<string>"
    }
  ],
  "status": true,
  "message": "<string>",
  "timestamp": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Enter JWT bearer token

x-org-id
string
header
required

Enter organization ID

Body

application/json
objects
object[]
required

Response

200
application/json
Operation successful
data
object[]
required
status
boolean
required
message
string
required
timestamp
string
required