Revoking project access API

Revoking access to a project when not needed. Project owner or an administrator can revoke access to the project.

Method
DELETE
URL
../apis/v1/rest/projects/:project/collaborators
Parameters
  • project - Name of the project.
Request headers
Content-Type: application/json
X-INSTANCE-API-KEY: <generated API key>
Request body
Sample custom package
{
"collaborators": [“username1”, “username2”]
}
Response
{
    "removed": ["<Username1>"],
    "notFound": [],
    "collaborators": {}
 }
}