Skip to content

resources.archive

POST
/resources/{resourceId}/archive
curl --request POST \
--url https://example.com/api/resources/example/archive \
--header 'Content-Type: application/json' \
--data '{ "reason": "example", "idempotencyKey": "example" }'
resourceId
required
string
>= 1 characters
Media type application/json
object
reason
string
>= 1 characters <= 280 characters
idempotencyKey
string
>= 1 characters
Example generated
{
"reason": "example",
"idempotencyKey": "example"
}

OK

Media type application/json
object
id
required
string
Example generated
{
"id": "example"
}