Disable a user's API access to a project
Any Civillo user can create API keys and use them to read and make updates to the data of every project they belong to. A project administrator can prevent a particular user from querying a project via the API, while leaving everything else about that user’s access to the project as it is.
Use this when a user needs to work in a project through Civillo itself, but should not be able to reach it through the API.
What disabling API access does
Section titled “What disabling API access does”- The user’s API keys are refused for that project.
- The user can still sign in and use the project in Civillo, with the same roles, groups and layers as before.
- The project is left out of the project list the API gives that user, and the user’s other projects are not affected.
Project administrators can’t have their API access disabled on the project they administer. Organization administrators and owners can’t have their API access disabled on any project, as they have access to every project in the organization.
Disable or enable a user’s API access
Section titled “Disable or enable a user’s API access”You must be a project or organization administrator to change this setting.
- From the administration page of the project, in the left sidebar click User permissions.
- Select the user whose API access you want to change.
- Scroll down to API access and check Disable API access. To give the user their API access back, uncheck it.
- Click Save changes.
Each change is recorded in the project’s audit log, with who made it and for which user.
What the user’s API client receives
Section titled “What the user’s API client receives”A request to the project with a disabled user’s API key is answered with 403 Forbidden and this body:
"API access to this project has been disabled for this user."