Decline Workspace Invitation
POST
/web/v1/users/self/invitations/{invitationBizId}/decline JWTDeclines a workspace invitation with an optional reason. Returns 204 No Content on success.
Required Headers
| Header | Example Value | Description |
|---|---|---|
| Content-Type | application/json | Request content type |
| Accept | application/json | Expected response type |
| X-Client-Hash | Client device fingerprint | |
| Accept-Language | en, zh, zh-Hant, ja, vi | Response language (default: en) |
| Authorization | Bearer | JWT access token |
Request Parameters
| Name | Type | Required | In | Description |
|---|---|---|---|---|
invitationBizId | String | Required | path | Invitation business ID |
reason | String | Optional | body | Optional reason for declining (JSON request body) |
Success Response
No Content 204
"{null}"Error Responses
Unauthorized 401
{
"success": false,
"code": "4010",
"message": "Invalid or expired token"
}Notes
- Returns HTTP 204 No Content on success.
- An optional
reasonfield can be provided in the JSON request body. - The invitation is consumed and cannot be declined again.