Global InfraGlobal Infra Cloud
Cassandra

Create a role membership

Creates a new role membership.

POST
/api/v1/giservices/cassandra/role_memberships

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/role_memberships" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "attributes": {      "member_of_role_id": "emea/sandbox/welcome/welcome_cluster01/keyspace_reader",      "role_id": "emea/sandbox/welcome/welcome_cluster01/app_user"    }  }'
{
  "id": "string",
  "name": "string",
  "description": "string",
  "service": "string",
  "attributes": {
    "member_of_role_id": "emea/sandbox/welcome/welcome_cluster01/keyspace_reader",
    "role_id": "emea/sandbox/welcome/welcome_cluster01/app_user"
  },
  "platform": "string",
  "region": "string",
  "tenant": "string"
}
Empty
Empty
Empty
Empty