Skip to main content
PATCH
/
api
/
platform
/
teams
/
invitations
/
{token}
curl --request PATCH \
  --url https://api-next.dealroom.co/api/platform/teams/invitations/{token} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "accepted"
}
'
{
  "data": {
    "id": 123,
    "team_id": 123,
    "user_id": "<string>",
    "role": "<string>",
    "joined_at": "<string>"
  }
}

Authorizations

Authorization
string
header
required

OAuth2 client-credentials flow against the Dealroom Auth0 tenant. Use the client_id / client_secret from a Programmatic API key. Tokens are valid for 24h — Swagger UI will reuse the same token across operations.

Path Parameters

token
string<uuid>
required

Invitation token (UUID v4)

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json
status
enum<string>
required

New invitation status

Available options:
accepted,
declined
Example:

"accepted"

Response

Invitation accepted, member added

data
object
required