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

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
groupName
string
application
string
roles
object[]

Response

200 - application/json
id
string