Assign User to a Group

Assign an account user to a specific group.

Deprecated
post
Path parameters
idstringRequired
Body
all ofOptional
Responses
200

OK

application/json
post
POST /public/v1/accounts/account-users/{id}/groups HTTP/1.1
Host: api.s1.today
Content-Type: application/json
Accept: */*
Content-Length: 13

{
  "id": "text"
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-09-12T22:36:15.499Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "updated": {
      "at": "2025-09-12T22:36:15.499Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "invitationAcceptedAt": "2025-09-12T22:36:15.499Z",
    "access": {
      "at": "2025-09-12T22:36:15.499Z"
    },
    "joined": {
      "at": "2025-09-12T22:36:15.499Z"
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "revision": 1,
  "user": {
    "id": "text",
    "name": "text",
    "icon": "text",
    "revision": 1
  },
  "groups": [
    {
      "id": "text",
      "name": "text",
      "revision": 1,
      "description": "text",
      "logo": "text",
      "isDefault": true
    }
  ],
  "buyers": [
    {
      "id": "text",
      "name": "text",
      "icon": "text",
      "revision": 1
    }
  ],
  "modules": [
    {
      "id": "text",
      "name": "text",
      "revision": 1,
      "description": "text",
      "filters": {
        "group.buyers": [
          "text"
        ]
      },
      "settings": {
        "configurable": true,
        "default": true,
        "paid": true,
        "type": [
          "text"
        ],
        "obsolete": true,
        "eligibility": {
          "multi": true,
          "single": true
        }
      }
    }
  ],
  "account": {
    "id": "text",
    "name": "text",
    "icon": "text",
    "revision": 1,
    "type": "Client",
    "status": "Active"
  },
  "invitation": {
    "url": "text",
    "notes": "text",
    "status": "text"
  },
  "lastLoginAt": "2025-09-12T22:36:15.499Z"
}

Last updated

Was this helpful?