Up - API Reference - Home
Requires JWT.
Deletes an API user (and key) from the project. This is a permanent action.
A deleted user can no longer access the project.
Only the owner of the project can delete API keys.
POST /api/p/<project gid>/apikeys/delete
Authorization: Bearer <JWT>
{
"user": "<api user gid>",
}
user an API user's gid for this project.
Authorization: <JWT>
{
"success": true,
"result": {},
"data": {}
}
There is no result info or data in the response because the API user no longer exists.
401 Unauthorized - missing or expired JWT
403 Forbidden - not the owner of this project
422 Unprocessable entity - delete failed