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

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

Body

application/json
organizationId
string
application
enum<string>
Available options:
b2b_wallet,
b2c_wallet,
admin_wallet

Response

200
application/json
Get all group response
groupId
string
groupName
string
tenantId
string
roles
object[]