Register User
Create a new user in your project data base
Register a new user on the project database
POST /project/create/user
Used to manage users from a third party to register them in the project database within Uncodie
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Required
Description
project_id
integer
Id of the project
email
string
email of the client who is going to be register on project's database
name
string
name of the client who is going to be register on project's database
image_url
string
image url of the client who is going to be register on project's database
Response
{
"message": "Register success.",
"id": 1 //Id of the registered user
}{
"error": "The following fields are required: <field_name>."
}{
"error": "Unauthorized."
}{
"error": "You do not have access to the project."
}{
"error": "Error registering the user, try again or contact the administration."
}Last updated
Was this helpful?