Skip to main content

POST

User (Create)

/api/v1/users/create/

Endpoint

/api/v1/users/create/

Headers

{
    "Content-Type": "application/json",
    "Authorization": "Bearer <str:token>"
}

Body

{
    "username": "<str:username>",
    "email": "<str:email>",
    "is_active": "<bool:is_active>",
    "is_staff": "<bool:is_staff>"
}

Response

{
    "status": "success",
    "message": "User created successfully."
}