/api/v1/invitations/{token}/accept
POST
/api/v1/invitations/{token}/accept
const url = 'https://example.com/api/v1/invitations/example/accept';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"displayName":"example","password":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/invitations/example/accept \ --header 'Content-Type: application/json' \ --data '{ "displayName": "example", "password": "example" }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”token
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
displayName
required
string
password
required
string
Example generated
{ "displayName": "example", "password": "example"}Responses
Section titled “Responses”OK