Complete from the subject's own session with fresh native PAM authentication and Account validation; direct TLS required. Returns public mapping metadata only.
const url = 'https://example.com/v1/auth/os-account-bindings/complete';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"ceremony_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","password":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/auth/os-account-bindings/complete \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "ceremony_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "password": "example" }'Completes one ceremony from the selected user own native product session with fresh PAM authentication and separate Account validation. The request password uses base64 byte encoding and is discarded; the reply contains only public mapping metadata and an audit digest.
Authorizations
Section titled “ Authorizations ”Request Body required
Section titled “ Request Body required ”object
Base64-encoded UTF-8 native password, bounded to 4096 decoded bytes; discarded after this request.
Example generated
{ "ceremony_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "password": "example"}Responses
Section titled “ Responses ”OK
object
Example generated
{ "account": "example", "digest": "example", "tenant": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "uid": 1, "user_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Request refused
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Request refused
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Request refused
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Request refused
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Request refused
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Request refused
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Request refused
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}