Accept Invite
POST
/v1/auth/accept-invite
const url = 'http://localhost:8080/v1/auth/accept-invite';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"token":"example","new_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 http://localhost:8080/v1/auth/accept-invite \ --header 'Content-Type: application/json' \ --data '{ "token": "example", "new_password": "example" }'Request Body required
Section titled “Request Body required ” Media type application/json
AcceptInvitePayload
object
token
required
Token
string
new_password
required
New Password
string
Example generated
{ "token": "example", "new_password": "example"}Responses
Section titled “ Responses ”Successful Response
Media type application/json
Response Accept Invite V1 Auth Accept Invite Post
object
key
additional properties
any
Example generated
{}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}