{"openapi": "3.1.0", "info": {"title": "NinjaExtraAPI", "version": "1.0.0", "description": ""}, "paths": {"/api/directory-server/sync-user": {"post": {"operationId": "directoryserver_sync_user_f062d0d5", "summary": "Sync User", "parameters": [], "responses": {"200": {"description": "OK"}, "409": {"description": "Conflict"}}, "description": "Sync user with the 389 Directory Server.", "tags": ["Directory Server"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BusinessIntelligenceUserIn"}}}, "required": true}, "security": [{"APIKeyHeaderAuth": []}]}}, "/api/directory-server/disable-user": {"post": {"operationId": "directoryserver_disable_user_53ff2f7f", "summary": "Disable User", "parameters": [], "responses": {"200": {"description": "OK"}, "404": {"description": "Not Found"}}, "description": "Disable user in the 389 Directory Server.", "tags": ["Directory Server"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BusinessIntelligenceDisableUserIn"}}}, "required": true}, "security": [{"APIKeyHeaderAuth": []}]}}, "/api/directory-server/sync-user-uadmin": {"post": {"operationId": "directoryserver_sync_user_uadmin_7178f0eb", "summary": "Sync User Uadmin", "parameters": [], "responses": {"200": {"description": "OK"}, "409": {"description": "Conflict"}}, "description": "Sync user with the 389 Directory Server.\n\nThis endpoint is specifically made to be called from the re-establish password view.\nOr from the profile view when updating the password in user administration.", "tags": ["Directory Server"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BIUserAdministrationIn"}}}, "required": true}, "security": [{"APIKeyHeaderAuth": []}]}}, "/api/directory-server/update-user-password": {"post": {"operationId": "directoryserver_update_user_password_3c649c1b", "summary": "Update User Password", "parameters": [], "responses": {"200": {"description": "OK"}, "404": {"description": "Not Found"}}, "description": "Update the user's password in the 389 Directory Server.", "tags": ["Directory Server"], "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BusinessIntelligenceUpdatePasswordIn"}}}, "required": true}, "security": [{"APIKeyHeaderAuth": []}]}}}, "components": {"schemas": {"BusinessIntelligenceUserIn": {"additionalProperties": false, "description": "Schema for input data of a Business Intelligence user.", "properties": {"uid": {"description": "The user identifier (typically the email).", "title": "Uid", "type": "string"}, "given_name": {"description": "The user's given name.", "title": "Given Name", "type": "string"}, "cn": {"description": "The user's common name.", "title": "Cn", "type": "string"}, "sn": {"description": "The user's surname.", "title": "Sn", "type": "string"}, "mail": {"description": "The user's email address.", "title": "Mail", "type": "string"}, "new_user": {"default": false, "description": "Flag to indicate if the user is new in the whole system.", "title": "New User", "type": "boolean"}, "password": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Password of the newly created user.", "title": "Password"}}, "required": ["uid", "given_name", "cn", "sn", "mail"], "title": "BusinessIntelligenceUserIn", "type": "object"}, "BusinessIntelligenceDisableUserIn": {"additionalProperties": false, "description": "Schema for input data of a Business Intelligence user.", "properties": {"uid": {"description": "The user identifier (typically the email).", "title": "Uid", "type": "string"}}, "required": ["uid"], "title": "BusinessIntelligenceDisableUserIn", "type": "object"}, "BIUserAdministrationIn": {"additionalProperties": false, "description": "Schema for input data of a Business Intelligence user.\n\nSpecifically for the endpoint called from reestablish password and update password from profile.\nIn user administration.", "properties": {"uid": {"description": "The user identifier (typically the email).", "title": "Uid", "type": "string"}, "given_name": {"description": "The user's given name.", "title": "Given Name", "type": "string"}, "cn": {"description": "The user's common name.", "title": "Cn", "type": "string"}, "sn": {"description": "The user's surname.", "title": "Sn", "type": "string"}, "mail": {"description": "The user's email address.", "title": "Mail", "type": "string"}, "password": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Password of the newly created user.", "title": "Password"}}, "required": ["uid", "given_name", "cn", "sn", "mail"], "title": "BIUserAdministrationIn", "type": "object"}, "BusinessIntelligenceUpdatePasswordIn": {"additionalProperties": false, "description": "Schema for input data of a Business Intelligence user.", "properties": {"uid": {"description": "The user identifier (typically the email).", "title": "Uid", "type": "string"}, "new_password": {"description": "The user's new password.", "title": "New Password", "type": "string"}}, "required": ["uid", "new_password"], "title": "BusinessIntelligenceUpdatePasswordIn", "type": "object"}}, "securitySchemes": {"APIKeyHeaderAuth": {"type": "apiKey", "in": "header", "name": "Api-Key"}}}, "servers": []}