Skip to main content
POST
/
tenant-auth
/
v1
/
accept-invite
Accept a user invite and set password
curl --request POST \
  --url https://api.swarmd.ai/tenant-auth/v1/accept-invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "<string>",
  "email": "<string>",
  "password": "<string>"
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

JWT token (USER, AGENT, or SERVICE auth)

Body

application/json
token
string
required
email
string
required
password
string
required
Required string length: 8 - 100

Response

200 - */*

OK

message
string