API Referenceauth
Complete invite setup
Complete the invite by setting password and assigning workspaces. This is a public endpoint - no authentication required.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X post "http://localhost:8000/api/v1/invite/complete" \ -H "Content-Type: application/json" \ -d '{ "code": "inv789xyz", "idp_user_id": "274938572048", "password": "SecureP@ssw0rd!" }'{
"user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
"idp_user_id": "string",
"email": "string",
"organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
"organization_name": "string",
"workspaces_assigned": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"roles_assigned": [
{
"role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
"role_name": "string"
}
],
"role_assignment_errors": [
"string"
],
"completed_at": "2019-08-24T14:15:22Z"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
