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

Authorizations

Authorization
string
headerrequired

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

Headers

tenantId
string
required

Tenant/Owner id

Body

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

Response

200 - application/json
groupId
string
groupName
string
tenantId
string
roles
object[]