#
Revoking profiles
#
Revoking a profile
Admin only
To revoke a profile in a realm context use the following endpoint:
DELETE /api/profiles/{serial}
With {serial}
being the serial of the profile to revoke.
On success the respone data will be true
. Otherwise the response will be the default API error response.
#
Revoking multiple profiles
Admin only
To revoke multiple profiles in a realm context use the following endpoint:
DELETE /api/profiles/bulk
The body of the request must be a JSON object with the following format:
{
"profiles":[
"serial1",
"serial2"
]
}
On success the response will be true
. On failure the response will be the default API error response.