Revoke a scoped role assignment (members.manage)
import requests
url = "https://platform.ankra.app/api/v1/org/organisation/assignments/{assignment_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/organisation/assignments/{assignment_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/api/v1/org/organisation/assignments/{assignment_id} \
--header 'Authorization: Bearer <token>'{
"success": true
}Organisation IAM
Revoke a scoped role assignment (members.manage)
DELETE
/
api
/
v1
/
org
/
organisation
/
assignments
/
{assignment_id}
Revoke a scoped role assignment (members.manage)
import requests
url = "https://platform.ankra.app/api/v1/org/organisation/assignments/{assignment_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/organisation/assignments/{assignment_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/api/v1/org/organisation/assignments/{assignment_id} \
--header 'Authorization: Bearer <token>'{
"success": true
}