DocsAPI ReferenceAbout
DocsAPI ReferenceAbout
  1. users
  • locations
    • List locations
      GET
    • Create a location
      POST
    • Get a location
      GET
    • Update a location by UUID
      PATCH
    • Delete a location
      DELETE
  • users
    • List users
      GET
    • Create a new user
      POST
    • Get a user
      GET
    • Delete a user
      DELETE
  • groups
    • List groups
      GET
    • Create a new group
      POST
    • Get a group
      GET
    • Update a group
      PATCH
    • Delete a group
      DELETE
  • assets
    • List assets
      GET
    • Get single asset
      GET
  • products
    • List products
      GET
  1. users

Create a new user

Production
https://api-v2.getmarvia.com
Production
https://api-v2.getmarvia.com
POST
https://api-v2.getmarvia.com
/v1/users
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-v2.getmarvia.com/v1/users' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "username": "string",
    "firstName": "string",
    "lastName": "string",
    "email": "user@example.com",
    "countryCode": "string",
    "languageCode": "EN",
    "role": "ROLE_SUPER_ADMIN"
}'
Response Response Example
201 - Example 1
{
    "data": {
        "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
    }
}

Request

Header Params

Body Params application/json

Examples

Responses

🟢201Created
application/json
User created successfully
Body

🟠400Bad Request
🔴500Server Error
Modified at 2025-07-25 04:54:55
Previous
List users
Next
Get a user
Built with