Revoke project access
DELETE
/api/v1/projects/{projectIdOrKey}/members/{principalId}
const url = 'https://app.avera.io/api/v1/projects/example/members/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://app.avera.io/api/v1/projects/example/members/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0Without itemTypeId this revokes the user’s project-scope binding, the common case; pass itemTypeId to target an item-type-scoped binding.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”projectIdOrKey
required
string
principalId
required
string format: uuid
Query Parameters
Section titled “Query Parameters”itemTypeId
string
Responses
Section titled “Responses”OK