Up - API Reference - Home
Requires JWT.
Remove a member.
A removed user can no longer access the project.
A member can remove themselves from the project, and the owner of the project can remove any member.
POST /api/p/<project gid>/members/remove
Authorization: Bearer <JWT>
{
"user": "<user gid>",
}
user
a member's gid.
Authorization: <JWT>
{
"success": true,
"result": {},
"data": {}
}
There is no result info or data in the response because the user is no longer a member.
401
Unauthorized - missing or expired JWT
403
Forbidden - not the owner of this project
422
Unprocessable entity - removal failed