subAccounts
Create a sub-account API key
Changed onCreates a sandbox or production API key for a sub-account. Treat the returned key value as a secret. For rotation, create a replacement, cut traffic over, then revoke the old key.
post/v1/sub_accounts/{sub_account_id}/api_keys
Request
- Base URLhttps://api.middesk.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
sub_account_idstring required
Sub-account ID
Request body
Response
sub-account API key created
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
bearer_authwas added to the API
- warning
- info
api operation id
createSubAccountApiKeyremoved and replaced withsubAccounts_createSubAccountApiKey
- info