Skip to main content
PATCH
/
organizations
/
account-groups
/
{account_group_id}
Update Account Group
curl --request PATCH \
  --url https://api-sandbox.y.uno/v1/organizations/account-groups/{account_group_id} \
  --header 'Content-Type: application/json' \
  --header 'PRIVATE-SECRET-KEY: <api-key>' \
  --header 'PUBLIC-API-KEY: <api-key>' \
  --data '
{
  "name": "<string>",
  "merchant_id": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "merchant_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}
Updates the details of an existing account group, such as its name or merchant ID.

Authorizations

PUBLIC-API-KEY
string
header
default:<Your PUBLIC-API-KEY>
required
PRIVATE-SECRET-KEY
string
header
default:<Your PRIVATE-SECRET-KEY>
required

Path Parameters

account_group_id
string<uuid>
required

Account group UUID.

Body

application/json
name
string

Account group name (min=1, max=255).

merchant_id
string

Local identifier (min=1, max=255).

Response

200 - application/json

OK

id
string<uuid>
name
string
merchant_id
string
created_at
string<date-time>
updated_at
string<date-time>