The API for add content restrictions appear to list delete
and purge
in the list of operations that can be restricted: https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions/#api-wiki-rest-api-content-id-restriction-post
But I’m getting a 400 bad request when attempting to create a restriction on delete
and the response says only read
and update
are supported:
{
"statusCode": 400,
"data": {
"authorized": true,
"valid": false,
"errors": [
{
"message": {
"translation": "unsupported operation type: <delete>. Please use one of: [read, update]",
"args": []
}
}
],
"successful": false
},
"message": "com.atlassian.confluence.api.service.exceptions.BadRequestException: unsupported operation type: <delete>. Please use one of: [read, update]"
}
Any clue if restricting delete
is possible via APIs?