Up - API Reference - Home
Requires JWT.
Leaving the project cancels the membership.
Afterwards, you no longer have access to the project.
POST /api/account/leave_project
Authorization: Bearer <JWT>
{
"project": "<project 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.
If you cache cc.projects_members
data, you'll need to remove the entry yourself.
401
Unauthorized - missing or expired JWT
422
Unprocessable entity - membership cancellation failed