Creates a password user in local/dev only, requiring an invitation code before applying the code-matched pending invitation.
POST
/auth/signup
curl \
--request POST 'https://agentengine.mongodb.com/auth/signup' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"email": "string",
"invitation_code": "string",
"name": "string",
"pwd": "string"
}'
Request examples
{
"email": "string",
"invitation_code": "string",
"name": "string",
"pwd": "string"
}
Response examples (201)
{
"created_at": "string",
"email": "string",
"name": "string",
"org_ids": [
"string"
],
"organizations": [
{
"name": "string",
"org_id": "string"
}
],
"role_assignments": [
{
"org_id": "string",
"project_id": "string",
"role": "string"
}
],
"updated_at": "string",
"user_id": "string"
}
Response examples (400)
{
"code": "string",
"error": "string",
"success": true
}
Response examples (403)
{
"code": "string",
"error": "string",
"success": true
}
Response examples (409)
{
"code": "string",
"error": "string",
"success": true
}
Response examples (500)
{
"code": "string",
"error": "string",
"success": true
}