Skip to Content
Docs

Update post-delete trigger by id

PUT
/types/{typeId}/triggers/post-delete/{id}

Authorization

jwt
headerAuthorizationBearer <JWT>

Path Parameters

id*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$
typeId*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$

Header Parameters

Request Body

application/json
  1. body
disabled?boolean
id*string
type*string
name*string
description?string
action*string
agentId*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$

Response Body

application/json
  1. response
disabled?boolean
id*string
type*string
name*string
description?string
action*string
agentId*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$
Example Request
curl -X PUT 'https://native-object-registry.your-tenant-id.my.contextual.io/api/v1/types/string/triggers/post-delete/string' \  -H 'Content-Type: application/json' \  -d '{  "id": "string",  "type": "system",  "name": "string",  "action": "send-to-agent",  "agentId": "string"}'
Example Response
{  "id": "string",  "type": "system",  "name": "string",  "description": "string",  "action": "send-to-agent",  "agentId": "string",  "disabled": true}