RetentionHoldCreate
Fields
POST /projects/{id}/retention-holds body.
4 fields
entity_id- string (uuid) or null
entity_type· required- string
expires_at- string (date-time) or null
reason· required- string
Raw schema (JSON)
{
"description": "POST ``/projects/{id}/retention-holds`` body.",
"properties": {
"entity_id": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Entity Id"
},
"entity_type": {
"title": "Entity Type",
"type": "string"
},
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Expires At"
},
"reason": {
"maxLength": 2000,
"title": "Reason",
"type": "string"
}
},
"required": [
"entity_type",
"reason"
],
"title": "RetentionHoldCreate",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
POST/api/v1/projects/{project_id}/retention-holds— Place Retention Hold
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON