Releases the listed browser registrations of a user, freeing their slots.
Request body
Required: a JSON list of { "id": ... } objects, at most 100. There is no "delete all": an empty body, [] or {} is a 400 and nothing is deleted.
Authorization
Same as listing: BASIC users only for themselves, company admins for users of their own profile, server admins for any user. There is no internal-client bypass.
Responses
-
OK - every listed registration was released.
-
Multi-Status - some ids were released and some were not found for this user. Same body shape as
200. -
Bad Request - the body is empty or not a non-empty JSON list of
{ "id": ... }objects (nothing is deleted), or no listed id was found for this user (same outcome array as200). -
Unauthorized - missing or invalid bearer token.
-
Forbidden - a BASIC user asked about another user, or
profile_idis not the caller's own profile (company admins). -
Not Found -
user_idis not a user ofprofile_id. -
Payload Too Large - more than 100 ids were submitted. Split the batch and retry.
curl \
--request DELETE 'https://api.iformbuilder.com/exzact/api/v80/[servername]/profiles/self/users/self/browser_tokens' \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {access_token}" \
--data '[
{
"id": 5120
},
{
"id": 5121
}
]'
[
{
"id": 5120
},
{
"id": 5121
}
]
[
{
"id": 5120
},
{
"id": 5121
}
]
[
{
"id": 5120
},
{
"id": 9999,
"error_message": "The requested resource is not found"
}
]