subAccounts
Update a sub-account
Changed onActivates or deactivates a sub-account. Deactivation causes every API key belonging to the sub-account to return 401, while retaining its data and keys. Re-enabling restores access.
patch/v1/sub_accounts/{id}
Request
- Base URLhttps://api.middesk.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Sub-account ID
Request body
Response
sub-account updated
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
bearer_authwas added to the API
- warning
- info
api operation id
updateSubAccountremoved and replaced withsubAccounts_updateSubAccount
- info