DocsAPI ReferenceAbout
DocsAPI ReferenceAbout
  1. users
  • Overview
  • Getting Started
  • Authentication
  • Permissions
  • API Reference
    • locations
      • List locations
      • Create a location
      • Get a location
      • Update a location by UUID
      • Delete a location
    • users
      • List users
        GET
      • Create a new user
        POST
      • Get a user
        GET
      • Delete a user
        DELETE
    • groups
      • List groups
      • Create a new group
      • Get a group
      • Update a group
      • Delete a group
    • assets
      • List assets
      • Get single asset
    • products
      • List products
  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