PUT
/
updateGroup
/
{groupId}
curl --request PUT \
  --url https://gateway.cyrexa.com/customer/1.0.0/updateGroup/{groupId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --header 'token: <token>' \
  --data '{
  "id": "<string>",
  "groupName": "<string>",
  "organizationId": "<string>",
  "application": "b2b_wallet",
  "roles": [
    {
      "componentId": "<string>",
      "componentName": "<string>",
      "accessRight": "read"
    }
  ]
}'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

token
string
required
tenantId
string
required

Tenant/Owner id

Path Parameters

groupId
string
required

Group id

Body

application/json
id
string
groupName
string
organizationId
string
application
enum<string>
Available options:
b2b_wallet,
b2c_wallet,
admin_wallet
roles
object[]

Response

200
application/json
Revoke Component Access Right Response
id
string