POST /v1/teams/invites/\{code\}/decline
Service: membership · operationId: (none)
Required scopes
(no scope declared — review service config)
Path parameters
code(string) required —
Responses
200 Invite declined
{
"type": "object",
"properties": {
"declined": {
"type": "boolean",
"enum": [
true
]
}
},
"required": [
"declined"
]
}404 Invite not found
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"error",
"message"
]
}500 Unexpected error
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"error",
"message"
]
}Example
curl -X POST https://membership.platform.loop.health/v1/teams/invites/{code}/decline \
-H "Authorization: Bearer $ACCESS_TOKEN"Related
services/membership— service overview- All endpoints — directory across services
- Auth model — how scopes are enforced