DeclineInvitation
POST
header
X-API-Key<token>API key for protected endpoints, supplied in the X-API-Key header.
Request Body
requiredapplication/json{
"$ref": "#/components/schemas/auth.v1.DeclineInvitationRequest",
"$ref-value": {
"type": "object",
"not": {
"required": [
"token",
"invitation_id"
]
},
"properties": {
"token": {
"type": "string",
"title": "token"
},
"invitation_id": {
"type": "string",
"title": "invitation_id"
}
},
"title": "DeclineInvitationRequest",
"additionalProperties": false,
"description": "At most one of `token`, `invitation_id` may be set."
}
}Response Body
200application/json
Success
type: unknown
{
"$ref": "#/components/schemas/google.protobuf.Empty",
"$ref-value": {
"type": "object",
"description": "An empty JSON object."
}
}