Skip to content

Assigns owner/sponsor.

PUT
/v1/m/governance/nhi/{ref}/ownership
curl --request PUT \
--url https://example.com/v1/m/governance/nhi/example/ownership \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "owner_ref": "example", "sponsor_ref": "example" }'

Assigns owner/sponsor. Each reference, when non-empty, must resolve to a roster identity classified HUMAN (never an NHI/unknown — owner and sponsor are accountable people).

ref
required
string

Path parameter ref.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

Media type application/json
Any of:
object
owner_ref
required

Human roster identity.

string
/.*\S.*/
sponsor_ref
Any of:

When non-blank, must resolve to a human roster identity; agent identities cannot clear their sponsor.

string
Example generated
{
"owner_ref": "example",
"sponsor_ref": "example"
}

OK

Media type application/json
object
Example generated
{}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}