Remove User Permission
curl --request DELETE \
--url https://{tenant_id}.api.useago.com/api/v1/users/{user_id}/permissions/{permission_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/users/{user_id}/permissions/{permission_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/users/{user_id}/permissions/{permission_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"email": "<string>",
"object": "user",
"first_name": "",
"last_name": "",
"is_customer": true,
"email_domain": "<string>",
"organization": {},
"created_at": "<string>",
"ticket_form": {},
"permissions": [
{
"id": "<string>",
"name": "<string>",
"display_name": "<string>"
}
]
}Users
Remove User Permission
Revoke a single permission from a user, leaving the rest intact.
DELETE
/
api
/
v1
/
users
/
{user_id}
/
permissions
/
{permission_id}
Remove User Permission
curl --request DELETE \
--url https://{tenant_id}.api.useago.com/api/v1/users/{user_id}/permissions/{permission_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/users/{user_id}/permissions/{permission_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/users/{user_id}/permissions/{permission_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"email": "<string>",
"object": "user",
"first_name": "",
"last_name": "",
"is_customer": true,
"email_domain": "<string>",
"organization": {},
"created_at": "<string>",
"ticket_form": {},
"permissions": [
{
"id": "<string>",
"name": "<string>",
"display_name": "<string>"
}
]
}Authorizations
Response
200 - application/json
OK
Show child attributes
Show child attributes
