Delete an attachment asset
Requires EDITOR. 409 (with references[]) when the asset is still referenced by a template.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”projectId
required
string
Tenant project id (row-level isolation on every query).
id
required
string
Resource id.
Responses
Section titled “Responses”Deleted.
Media typeapplication/json
object
ok
boolean
Not authenticated (no valid session/principal).
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Authenticated but lacks the required project role.
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Resource not found (or belongs to another project — indistinguishable).
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Asset still referenced by templates.
Media typeapplication/json
object
error
string
references
Array<object>
object
key
additional properties
any
Examplegenerated
{ "error": "example", "references": [ {} ]}