Global InfraGlobal Infra Cloud
Cassandra

Create a application role

Creates a new application role.

POST
/api/v1/giservices/cassandra/application_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/application_roles" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "attributes": {      "cluster_id": "emea/sandbox/welcome/welcome_cluster01",      "name": "keyspace_reader"    }  }'
{
  "id": "string",
  "name": "string",
  "description": "string",
  "service": "string",
  "attributes": {
    "cluster_id": "emea/sandbox/welcome/welcome_cluster01",
    "effective_grants": [
      {
        "permissions": [
          "string"
        ],
        "resource_kind": "string",
        "resource_name": "string",
        "source": "app_user"
      }
    ],
    "login": true,
    "name": "keyspace_reader",
    "password_last_rotated_at": "2019-08-24T14:15:22Z",
    "password_location": "string"
  },
  "platform": "string",
  "region": "string",
  "tenant": "string"
}
Empty
Empty
Empty
Empty