Skip to main content
POST
/
api
/
org
/
add_user
Org Add User
curl --request POST \
  --url https://app.apigene.ai/api/org/add_user/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]",
  "password": "<string>",
  "org_name": "<string>",
  "role": "User"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'

Body

application/json
email
string<email>
required
password
string
required
org_name
string | null
role
enum<string>
default:User
Available options:
APIGene,
Owner,
Admin,
User

Response

Successful Response