Projects and access

Delete resource

Shared command transport. All logical arguments in JSON; no query or Idempotency-Key header. See canonical operation reference.

post/v1/commands/delete_resource

Request

  • Base URL: https://app.agentlinkops.com
  • URL: https://app.agentlinkops.com/v1/commands/delete_resource
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Headers

X-Workspace-IDstring

Required when using a Clerk human session. With an API key, omit this header or supply its bound workspace.

Request body

resourceType'watch' | 'target' | 'project' required

resource type; see schema.

resourceIdstring required

resource ID from create/list.

confirmationstring

confirmation; see schema.

Response

Command result, including queued admission.

idstring required

Resource identifier returned by the operation.

workspace_idstring required

Workspace that owns this record.

project_idstring required

Project that owns this record.

resource_type'watch' | 'target' | 'project' required
resource_idstring required
requested_atstring required
requested_bystring required
state'pending' | 'completed' required

Saved lifecycle or evidence state, as enumerated for this record.

replayedboolean

True when the response reuses an earlier request with the same idempotency value.

Changes

No recorded changes to this operation across all 1 revision of this API.