FruxonDocs
UsersCore

Accepts an outstanding invitation in-app, activating the user's membership.

Looks up the invitation for the authenticated user in the given tenant, creates the membership, and withdraws the invitation ticket. Idempotent — if the user is already a member of the tenant, returns 204 without error. Rejects with 400 if the invitation has expired.

POST
/v1/me/pendingInvitations/{tenantId}:accept
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

tenantId*string

The tenant whose invitation to accept.

Formatuuid

Response Body

curl -X POST "https://api.fruxon.com/v1/me/pendingInvitations/497f6eca-6276-4993-bfeb-53cbbbba6f08:accept"
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}