Skip to main content

Update or add access users

POST 

/v1/accounts/:account_id/access-users

Update or add access users

This endpoint allows for creating or updating access permissions for users within a specific account. It accepts a JSON array of AccessData objects, each containing optional id, mandatory role_id, user_id, and optional created_at. On success, it returns a 201 status with a message indicating successful upsert.

Request

Path Parameters

    account_id uuidrequired

    Account id

Body

arrayrequired
  • Array [
  • created_at datenullable
    id uuidnullable
    role_id uuidrequired
    user_id uuidrequired
  • ]

Responses

Access users upserted successfully

Schema

    string

Loading...