Global InfraGlobal Infra Cloud
Cassandra

Create a human role

Creates a new human role.

POST
/api/v1/giservices/cassandra/human_roles

Authorization

AuthorizationBearer <token>

Okta Bearer token

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/giservices/cassandra/human_roles" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "attributes": {      "cluster_id": "emea/sandbox/welcome/welcome_cluster01",      "user_id": "firstname.lastname@worldline.com"    }  }'
{
  "id": "string",
  "name": "string",
  "description": "string",
  "service": "string",
  "attributes": {
    "access_level": "read_only",
    "cluster_id": "emea/sandbox/welcome/welcome_cluster01",
    "effective_grants": [
      {
        "permissions": [
          "string"
        ],
        "resource_kind": "string",
        "resource_name": "string",
        "source": "human"
      }
    ],
    "enabled": true,
    "name": "h_flastname",
    "password_last_rotated_at": "2019-08-24T14:15:22Z",
    "password_location": "string",
    "user_id": "firstname.lastname@worldline.com"
  },
  "platform": "string",
  "region": "string",
  "tenant": "string"
}
Empty
Empty
Empty
Empty