Files
developer.sailpoint.com/api-specs/idn/beta/paths/accounts-id-disable.yaml
github-actions[bot] 44504ff0ab Deploy to GitHub pages
2023-07-24 14:20:28 +00:00

45 lines
1.1 KiB
YAML

post:
operationId: disableAccount
tags:
- Accounts
summary: Disable Account
description: >-
This API submits a task to disable the account and returns the task ID.
A token with ORG_ADMIN authority is required to call this API.
security:
- oauth2: [idn:accounts-state:manage]
parameters:
- in: path
name: id
schema:
type: string
required: true
description: The account id
example: ef38f94347e94562b5bb8424a56397d8
requestBody:
required: true
content:
application/json:
schema:
$ref: '../schemas/AccountToggleRequest.yaml'
responses:
'202':
description: Async task details
content:
application/json:
schema:
$ref: '../schemas/AccountsAsyncResult.yaml'
'400':
$ref: '../../v3/responses/400.yaml'
'401':
$ref: '../../v3/responses/401.yaml'
'403':
$ref: '../../v3/responses/403.yaml'
'404':
$ref: '../../v3/responses/404.yaml'
'429':
$ref: '../../v3/responses/429.yaml'
'500':
$ref: '../../v3/responses/500.yaml'