Skip to main content
PATCH
Reassign a key’s owner and/or cost-center team

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
ownerId
string | null

User who owns/uses this key. Omit to leave unchanged; null clears ownership.

teamId
string | null

Cost-center team this key bills to. Omit to leave unchanged; null clears the assignment (falls back to owner’s team in the ledger rollup).

Response

Updated owner/team assignment

id
string
required
Example:

"550e8400-e29b-41d4-a716-446655440000"

ownerId
string | null
required
Example:

"550e8400-e29b-41d4-a716-446655440001"

teamId
string | null
required
Example:

"550e8400-e29b-41d4-a716-446655440002"