GoodMemGoodMem
ReferenceAPIREST APIService Identities

Create a service identity

Creates one production-workload identity owned by the authenticated human. No API key, role, grant, or authentication mapping is created implicitly.

POST
/v1/service-identities
x-api-key<token>

In: header

serviceIdentityId?string | null

Optional client-provided UUID; generated by the server when omitted.

Example"550e8400-e29b-41d4-a716-446655440000"
Formatuuid
displayNamestring

Globally unique, nonblank operator-facing name.

Example"production-search"
Length1 <= length <= 255
description?string | null

Optional operator description.

Example"Identity used by the production search workload"
labels?object | null

Optional labels for organization and filtering. At most 20 entries; keys and values contain at most 255 characters; keys use [a-z0-9._-].

Example{"environment":"production","team":"search"}
Propertiesproperties <= 20

Empty Object

Response Body

curl -X POST "https://loading/v1/service-identities" \  -H "Content-Type: application/json" \  -d '{    "serviceIdentityId": "550e8400-e29b-41d4-a716-446655440000",    "displayName": "production-search",    "description": "Identity used by the production search workload",    "labels": {      "environment": "production",      "team": "search"    }  }'
{
  "serviceIdentityId": "550e8400-e29b-41d4-a716-446655440000",
  "displayName": "production-search",
  "description": "string",
  "ownerPrincipalId": "c8b7819f-5f12-46fd-a2bb-632aece82193",
  "creatorPrincipalId": "9dd98014-def4-41d6-819d-7db1f82d4d60",
  "labels": {
    "environment": "production",
    "team": "search"
  },
  "deletedAt": 1620200000000,
  "deletedById": "8ef578ad-7f1e-4656-b48b-b1b4a9aaa1cb",
  "createdAt": 1620000000000,
  "updatedAt": 1620100000000,
  "createdById": "e13e432a-5323-4484-a91d-b5969bc564d9",
  "updatedById": "d8bc6076-4141-4a88-80b9-0eb31643066f"
}
Empty
Empty
Empty
Empty
Empty
Empty