Marvia Developer Portal
DocsAPI ReferenceAbout
DocsAPI ReferenceAbout
  1. Users
  • Users
    • Get a user
      GET
    • Delete a user
      DELETE
    • Update a user
      PATCH
    • List
      GET
    • Create a new user
      POST
    • Get user locations
      GET
    • Update user locations
      PUT
    • Get user groups
      GET
    • Update user groups
      PUT
  • Products
    • List products
      GET
  • Locations
    • Update a location
      PATCH
    • Get a location
      GET
    • Delete a location
      DELETE
    • List locations
      GET
    • Create a new location
      POST
  • Groups
    • Get a group
      GET
    • Update a group
      PATCH
    • Delete a group
      DELETE
    • List groups
      GET
    • Create a new group
      POST
  • Uploads
    • Initialize multipart upload
      POST
    • Complete multipart upload
      PUT
  • Assets
    • List assets
      GET
    • Create a new asset
      POST
    • Get asset by UUID
      GET
    • Update an asset
      PATCH
    • Search assets
      GET
    • Get all meta tags
      GET
    • Get asset meta tags
      GET
    • Update asset meta tags
      PATCH
  1. Users

Update user groups

Production
https://api-v2.getmarvia.com
Production
https://api-v2.getmarvia.com
PUT
https://api-v2.getmarvia.com
/v1/users/{uuid}/groups
Required Permissions: update:users and update:groups
This endpoint requires an API key with the update:users and update:groups permissions. Make sure your token was created with these permissions during token creation.

Request

Authorization
API Key
Add parameter in header
Authorization
Example:
Authorization: ********************
or
Path Params

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
Success
Body

🟠400Bad Request
🟠401Unauthorized
🟠404Not Found
🔴500Internal Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api-v2.getmarvia.com/v1/users//groups' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '[
    "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]'
Response Response Example
200 - Example 1
{
    "_tag": "Success",
    "data": {
        "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
    }
}
Modified at 2025-10-22 12:46:34
Previous
Get user groups
Next
List products
Built with