---
id: onboard-operator-update-super-admin-status
title: "Disable or enable super admin"
description: "Disables (`disabled`) or enables (`active`) the account of a super admin. A request for the state that the account has changes nothing and gets the same answer. The API refuses to disable the only super admin of an organisation that is not disabled, and the only platform admin that is not disabled."
sidebar_label: "Disable or enable super admin"
hide_title: true
hide_table_of_contents: true
api: eJztWntv2zgS/yoE/4oB+ZHHdlvtYrFpkj2422uKJt0crgkiWhrb3EiklqTs+AJ/98OQ1NNy+sABByxaFK0lkcOZ4cxvHuQTTUDHiueGS0FDes41m6WgyUGUuJ9JNCBSERDlexYbvoJoQMwSCItjWQhD5JwwooscFGFJxsWInBIFfxWgDZlLZcdqwwwQs2SmNXXJNImXTCxAEyHNkosFYSIhCzDazWMZECb0GtSIXC+BnL6fEgXzQoMmRhLPqB0rRbpp8mEZE0SqBRNcM5TSccDtYuXcJLBLVhTylJm5VJkn0jdjRAMqc1CW5jShIZViJplKLu1LqT7mCTNwhbycIpUrw0yhaUANW2gafqJXNZvaLt9eVdO7gGqIC8XNhoafnuhrYArUaWGWNPx0t70LaM4Uy8CA0naAYBnQkNrp04QGlOOe5swsaUBxO7iChIZGFRB0Nh71Oj3f2cce/QVkrmRGPr3l2jSH6ruDcSJjPZY5CJ6crOIhy/nYa2UovVqGKddmaOcN3bwBqlLHS8gYDZ+o2eQohDaKiwUNaMYe34JYoNBHP7wIKDyyLE9xyIsfjw/nh8lLdjg7io+TE/hh/mLy40tGt6gbb36vZbJBsl3xYykMCIOfWJ6nPLbCjf/UqI6nXX7k7E+IDQ0oSxKOQ1n6XqFQhoOm4ZylGppK/kS123DcpsbAp/J9j6ggigxnljaGq1lvQyLt/ards7RI3fSqn0jpp5XncoN6rrVXLbLdbhvva/5aI7Yom86l0E6Io8kE/9s1otKt2dyA83vn3Lj4N+u8pdbKo3pUW3/roWK4sZKXHnrqWKVd3Z4Kb/yVLJqwLiZoqHTa5I7jpkHGeEoD548BVTKFd+5n05HQ6ktMSJk2V3whpvi2XGmPkDzps5197myNwkIy/TL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Qpyz2mx6QuDQB7PxLAQEptENIg6CaQAoGStXhgBG5WXLb1OoEN8wIK+zclfuApVr6MwOELUvZOjQaECSDwCvc6t7LpuuaxpqJN7NGvrkHut0ljzXWhqZZCx40tnAs1xovptjrCnu3BFuxTguJv0BCopPDSclKa/0EbBuE4QHNCENe87ZFhRaIOeVtBXye2UE08D9+K7vFb26ue6ubVi+kWb/6M5qvBBDHI4l2EcN/+dktOLQL/uJV24AJ7Q6x7et22b1b12pi2INPjmxFYonurUMzDK0BxTzoQ30V4+LZewaIwnOJHzGrYrHNqsqWti7yXCrza43xFUzzf9Sv2sGhGVd69qOaaEUobyq1C31riCHhWheAPpeAMBwTErsdlzmI6fnJH2dTcjiaBGQFis83VgHtAe/d9yX6YpOK3/LS3udkI4tuewIrXRb7iwh+ZK7kiid4J2pqcwvUjSbTi+vfyNX5ECH7j7OATK8ux9OLM3L4cnJ4PPyBZImMyUF2/nZgid4cn5E/zsjBm5vrQZMrCyHk4uP5lNy45XD0RYFpKBPkdaG5QEO+qXiZ8xR0fY3qnC+4YSmGqUrS0/dTTJhTHoPQ1gTKKJuzeAnkaDTZ2b/1ej1i9vNIqsXYz9Xjt9Ozi3dXF0Ocs61bDO39TGRcZCBMGb0xxXF7fzQ5Ohkdjw7tWZ/UJmOiwY+/BVffe2vmbl2/fqorgO/X577q+pzHVEz8MWN1lxzs9j/5pPYTXZ3gCZQL043zoOrynUTwbSS3NKBhff+tvoK1lNogvaenGdPwUaXbLb62Ry94my6gK6a4O9HFHLiEpPJi194tPyiP5Qfk/32HrlefZZorMMe1Z0w0pDSgD67g96qyjTCf/KL87uuZk3J4jTTq2TtlLqbsbgZ2v3Lz7Ni7RgHz/iOGyZm/opfZoosqtsa2HVvTkN7SW2r32sYlW0Xj+yeaMrEosIcXUkcWYw1rB+tOcLaC9arjZx8tr22UrJRj4xuqZrv9LwFLCxo=
sidebar_class_name: "put api-method"
info_path: docs/openid4vc-api/igrant-io-api-documentation
custom_edit_url: null
---

> **Build this with an AI coding agent.** Install the iGrant.io Agent Skills, then ask your agent to build the integration:
>
> ```bash
> npx skills add L3-iGrant/skills
> ```


import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";

<h1 className={"openapi__heading"}>Disable or enable super admin</h1>

<MethodEndpoint method={"put"} path={"/v4/onboard/platform/operator/super-admin/{adminId}/status"}></MethodEndpoint>



Disables (`disabled`) or enables (`active`) the account of a super admin. A request for the state that the account has changes nothing and gets the same answer. The API refuses to disable the only super admin of an organisation that is not disabled, and the only platform admin that is not disabled.

## Request

<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Path Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"name":"adminId","in":"path","required":true,"description":"The ID of a super admin of an organisation, from [List super admins](/docs/openid4vc-api/onboard-operator-list-super-admins).","schema":{"type":"string","maxLength":256,"example":"6731f1d8a1b2c3d4e5f6078a"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3><strong className={"openapi-schema__required"}>required</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"status"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [`disabled`, `active`]"} schema={{"type":"string","enum":["disabled","active"],"description":"`disabled` disables the account; `active` enables it.","example":"disabled"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>

The account after the change.

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>superAdmin</strong><span className={"openapi-schema__name"}> object</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

An admin account as a platform admin sees it.

</div><SchemaItem collapsible={false} name={"id"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The ID of the admin.","example":"6731f1d8a1b2c3d4e5f6078a"}}></SchemaItem><SchemaItem collapsible={false} name={"email"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The e-mail address of the admin.","example":"jane.doe@acme-bank.example.com"}}></SchemaItem><SchemaItem collapsible={false} name={"name"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The name of the admin.","example":"Jane Doe"}}></SchemaItem><SchemaItem collapsible={false} name={"roleName"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [`Admin`, `Dpo`, `Developer`, `SuperAdmin`, `NormalAdmin`]"} schema={{"type":"string","enum":["Admin","Dpo","Developer","SuperAdmin","NormalAdmin"],"description":"The role of the admin in its organisation. A super admin has `SuperAdmin`.","example":"SuperAdmin"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>organisation</strong><span className={"openapi-schema__name"}> object</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

The organisation of the admin.

</div><SchemaItem collapsible={false} name={"id"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The ID of the organisation.","example":"6731f0c2a1b2c3d4e5f60789"}}></SchemaItem><SchemaItem collapsible={false} name={"name"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The name of the organisation.","example":"Acme Bank"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"status"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [`invited`, `active`, `passwordChangeRequired`, `disabled`]"} schema={{"type":"string","enum":["invited","active","passwordChangeRequired","disabled"],"description":"The state of the account. `invited`: the admin has not set a password yet. `passwordChangeRequired`: the admin must set a new password at the next login, for example after a one-time password. `disabled`: a platform admin or a super admin disabled the account.","example":"active"}}></SchemaItem><SchemaItem collapsible={false} name={"lastSignIn"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","nullable":true,"description":"The time of the last login of the admin, or `null` before the first login.","example":"2026-11-12T09:30:00Z"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>platformAdmin</strong><span className={"openapi-schema__name"}> object</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__nullable"}>nullable</span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Who gave the platform admin right and when, or `null` for an admin without the right.

</div><SchemaItem collapsible={false} name={"grantedBy"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The name of the platform admin who gave the right (the e-mail address of an admin without a name), `operatorCommand` when a command of the installation gave it, or the ID of the admin when that admin cannot be read.","example":"operatorCommand"}}></SchemaItem><SchemaItem collapsible={false} name={"grantedAt"} required={true} schemaName={"date-time"} qualifierMessage={undefined} schema={{"type":"string","format":"date-time","description":"When the right was given (RFC 3339, UTC).","example":"2026-11-12T08:00:00Z"}}></SchemaItem></div></details></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"superAdmin\": {\n    \"id\": \"6731f1d8a1b2c3d4e5f6078a\",\n    \"email\": \"jane.doe@acme-bank.example.com\",\n    \"name\": \"Jane Doe\",\n    \"roleName\": \"SuperAdmin\",\n    \"organisation\": {\n      \"id\": \"6731f0c2a1b2c3d4e5f60789\",\n      \"name\": \"Acme Bank\"\n    },\n    \"status\": \"active\",\n    \"lastSignIn\": \"2026-11-12T09:30:00Z\",\n    \"platformAdmin\": {\n      \"grantedBy\": \"operatorCommand\",\n      \"grantedAt\": \"2026-11-12T08:00:00Z\"\n    }\n  }\n}"} language={"json"}></ResponseSamples></TabItem><TabItem label={"Example"} value={"Example"}><ResponseSamples responseExample={"{\n  \"superAdmin\": {\n    \"id\": \"6731f1d8a1b2c3d4e5f6078a\",\n    \"email\": \"jane.doe@acme-bank.example.com\",\n    \"name\": \"Jane Doe\",\n    \"roleName\": \"SuperAdmin\",\n    \"organisation\": {\n      \"id\": \"6731f0c2a1b2c3d4e5f60789\",\n      \"name\": \"Acme Bank\"\n    },\n    \"status\": \"disabled\",\n    \"lastSignIn\": \"2026-11-12T09:30:00Z\",\n    \"platformAdmin\": null\n  }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>

The request is not valid (`errorKey` `invalid_request`): for example a body that is not JSON, a member that the operation does not know, a missing required member, or a query value that is not allowed. `errorDescription` names the member.

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"errorCode"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","example":400}}></SchemaItem><SchemaItem collapsible={false} name={"errorDescription"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"Bad input parameter"}}></SchemaItem><SchemaItem collapsible={false} name={"errorKey"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"A text code of the refusal that does not change when the text changes. Only some refusals have it, for example `organisation_suspended`, `feature_disabled` or `purpose_exists`."}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\",\n  \"errorKey\": \"string\"\n}"} language={"json"}></ResponseSamples></TabItem><TabItem label={"Example"} value={"Example"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorKey\": \"invalid_request\",\n  \"errorDescription\": \"field status must be \\\"suspended\\\" or \\\"active\\\"\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"401"} value={"401"}><div>

The `Authorization` header is missing, or the access token is not valid or has expired.

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"errorCode"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","example":400}}></SchemaItem><SchemaItem collapsible={false} name={"errorDescription"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"Bad input parameter"}}></SchemaItem><SchemaItem collapsible={false} name={"errorKey"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"A text code of the refusal that does not change when the text changes. Only some refusals have it, for example `organisation_suspended`, `feature_disabled` or `purpose_exists`."}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\",\n  \"errorKey\": \"string\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"403"} value={"403"}><div>

The caller cannot call the operations of a platform admin. A login of an admin who is not a platform admin (an admin of another organisation, or an admin of the platform operator organisation without the platform admin right) gets `errorKey` `not_platform_admin`. An API key gets the older body `{"Code", "Message"}`: no API key can call these operations.

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><SchemaItem collapsible={false} name={"errorCode"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","example":400}}></SchemaItem><SchemaItem collapsible={false} name={"errorDescription"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"Bad input parameter"}}></SchemaItem><SchemaItem collapsible={false} name={"errorKey"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"A text code of the refusal that does not change when the text changes. Only some refusals have it, for example `organisation_suspended`, `feature_disabled` or `purpose_exists`."}}></SchemaItem></TabItem><TabItem label={"Older error body"} value={"1-item-properties"}><SchemaItem collapsible={false} name={"Code"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"The HTTP status.","example":403}}></SchemaItem><SchemaItem collapsible={false} name={"Message"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"What went wrong.","example":"Unauthorized access;User doesn't have enough permissions;"}}></SchemaItem></TabItem></SchemaTabs></div></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{}"} language={"json"}></ResponseSamples></TabItem><TabItem label={"Example"} value={"Example"}><ResponseSamples responseExample={"{\n  \"errorCode\": 403,\n  \"errorKey\": \"not_platform_admin\",\n  \"errorDescription\": \"Access denied: only a platform admin of the platform operator organisation can call this route\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"404"} value={"404"}><div>

No account of the operation has the ID (`errorKey` `account_not_found`).

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"errorCode"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","example":400}}></SchemaItem><SchemaItem collapsible={false} name={"errorDescription"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"Bad input parameter"}}></SchemaItem><SchemaItem collapsible={false} name={"errorKey"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"A text code of the refusal that does not change when the text changes. Only some refusals have it, for example `organisation_suspended`, `feature_disabled` or `purpose_exists`."}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\",\n  \"errorKey\": \"string\"\n}"} language={"json"}></ResponseSamples></TabItem><TabItem label={"Example"} value={"Example"}><ResponseSamples responseExample={"{\n  \"errorCode\": 404,\n  \"errorKey\": \"account_not_found\",\n  \"errorDescription\": \"The account does not exist\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"409"} value={"409"}><div>

The account cannot be disabled. `errorKey`: `last_super_admin` (the only super admin of its organisation that is not disabled) or `last_platform_admin` (the only platform admin that is not disabled).

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"errorCode"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","example":400}}></SchemaItem><SchemaItem collapsible={false} name={"errorDescription"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"Bad input parameter"}}></SchemaItem><SchemaItem collapsible={false} name={"errorKey"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"A text code of the refusal that does not change when the text changes. Only some refusals have it, for example `organisation_suspended`, `feature_disabled` or `purpose_exists`."}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\",\n  \"errorKey\": \"string\"\n}"} language={"json"}></ResponseSamples></TabItem><TabItem label={"Example"} value={"Example"}><ResponseSamples responseExample={"{\n  \"errorCode\": 409,\n  \"errorKey\": \"last_super_admin\",\n  \"errorDescription\": \"The account is the last super admin of its organisation that is not disabled\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
      