Skip to content

Delete content restriction

DELETE
/api/v1/users/{userId}/content-restrictions/{restrictionId}
curl --request DELETE \
--url http://127.0.0.1:58259/api/v1/users/1/content-restrictions/1

Delete a specific content restriction

userId
required
integer format: int64

ID of the user

restrictionId
required
integer format: int64

ID of the restriction to delete

Content restriction deleted successfully

Forbidden - requires admin

Content restriction not found