Skip to content

Delete an object (server token only)

DELETE
/v1/objects/{type}/{id}
curl --request DELETE \
--url http://localhost:3000/v1/objects/example/example \
--header 'Authorization: Bearer <token>'

Hard delete. Activities keep their refs; the key simply disappears from the objects sidecar and clients fall back to the activity’s own custom.

type
required
string
id
required
string

Deleted

Authenticated but not permitted.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: VALIDATION_FAILED UNAUTHENTICATED FORBIDDEN NOT_FOUND CONFLICT RATE_LIMITED INTERNAL
message
required
string
requestId
required
string
fields

Present only for VALIDATION_FAILED.

Array<object>
object
path
string
message
string
Example
{
"error": {
"code": "VALIDATION_FAILED"
}
}

Not found

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: VALIDATION_FAILED UNAUTHENTICATED FORBIDDEN NOT_FOUND CONFLICT RATE_LIMITED INTERNAL
message
required
string
requestId
required
string
fields

Present only for VALIDATION_FAILED.

Array<object>
object
path
string
message
string
Example
{
"error": {
"code": "VALIDATION_FAILED"
}
}