Assign a configured personal credential to its account
Generated from the checked-in source. Do not edit this reference by hand.
PUT /api/v1/vendors/{id}/personal-owner
Installation administrator only. Ownership is immutable. Exact retries return success without another audit event. This does not activate Provider offers, grant funds or qualify commercial supply. Initial assignment rejects credentials with any model route pricing, including disabled mappings; explicitly clear those prices first. Ownership assignment and model publication serialize on the credential row.
Operation: assignPersonalCredentialOwner.
Authentication
Section titled “Authentication”Use the credential and permission scope described above. Each object below is an alternative; schemes within one object are required together.
[ { "adminBearerAuth": [] }]HTTP request
Section titled “HTTP request”Set NIU_ORIGIN to your installation origin (without /v1). Replace path, query and header placeholders with the required values. Query examples use curl 7.87 or newer to encode values with --url-query. Use the credential scope described above; a bearer token must have the authority required by this operation.
curl --fail-with-body -X PUT "$NIU_ORIGIN/api/v1/vendors/{id}/personal-owner" \ -H "Authorization: Bearer $NIU_ADMIN_TOKEN" \ -H 'Content-Type: application/json' \ --data @request.jsonParameters
Section titled “Parameters”Location: path. Required.
{ "type": "string", "format": "uuid"}Request body
Section titled “Request body”application/json
Section titled “application/json”Required.
{ "type": "object", "additionalProperties": false, "required": [ "organization_id", "expected_revision" ], "properties": { "organization_id": { "type": "string", "format": "uuid" }, "expected_revision": { "type": "integer", "format": "int64", "minimum": 1 } }}Responses
Section titled “Responses”HTTP 200
Section titled “HTTP 200”Personal owner assigned or exact assignment already exists.
Content type: application/json.
{ "type": "object", "additionalProperties": false, "required": [ "assigned" ], "properties": { "assigned": { "type": "boolean", "const": true } }}HTTP 400
Section titled “HTTP 400”Invalid assignment input.
HTTP 401
Section titled “HTTP 401”Authentication required.
HTTP 403
Section titled “HTTP 403”Installation administrator required.
HTTP 409
Section titled “HTTP 409”Stale revision, different owner, existing model route pricing, commercial qualification or unavailable account.
Behavior and supported scope
Section titled “Behavior and supported scope”Installation administrator only. Ownership is immutable. Exact retries return success without another audit event. This does not activate Provider offers, grant funds or qualify commercial supply. Initial assignment rejects credentials with any model route pricing, including disabled mappings; explicitly clear those prices first. Ownership assignment and model publication serialize on the credential row.