Up - API Reference - Home
Requires JWT.
Decline an invitation for the project.
The invitation was sent by email, and contains an invite link. This link contains the project gid to use in declining the invitation.
POST /api/account/decline_invite
Authorization: Bearer <JWT>
{
"project": "<project gid>",
}
Authorization: <JWT>
{
"success": true,
"result": {
"project": "218437b3-f3db-4f60-9d44-c96319aa3c57",
},
"data": {
"cc.projects_members": [
{
"project_gid": "218437b3-f3db-4f60-9d44-c96319aa3c57",
"user_gid": "b76f701d-3d34-4f39-8eeb-fafe294ab01e",
"status": "declined",
"roles": [
"member"
],
"options": {
"language": "en",
"timezone": "Europe/Amsterdam"
}
},
]
}
}
project
is the project gid for the project you declined.
cc.projects_members
is a list with metadata for your project membership status: declined.
400
Bad request - missing parameters (only the first is reported).
401
Unauthorized - missing or expired JWT
422
Unprocessable entity - decline failed