Files
developer.sailpoint.com/static/api-specs/idn/beta/paths/password-sync-group.yaml
2022-09-29 21:59:22 +00:00

122 lines
3.6 KiB
YAML

get:
operationId: getPasswordSyncGroup
tags:
- Password Sync Groups
summary: Get Password Sync Group by ID
description: >-
This API returns the sync group for the specified ID.
A token with ORG_ADMIN authority is required to call this API.
# security:
# - oauth2: [ORG_ADMIN]
parameters:
- in: path
name: id
schema:
type: string
required: true
description: The ID of password sync group to retrieve.
example: 6881f631-3bd5-4213-9c75-8e05cc3e35dd
responses:
'200':
description: Reference to the password sync group.
content:
application/json:
schema:
$ref: '../schemas/PasswordSyncGroup.yaml'
example:
{
"id": "6881f631-3bd5-4213-9c75-8e05cc3e35dd",
"name": "Password Sync Group 1",
"passwordPolicyId": "2c91808d744ba0ce01746f93b6204501",
"sourceIds": ["2c918084660f45d6016617daa9210584", "2c918084660f45d6016617daa9210500"]
}
'400':
$ref: '../../v3/responses/400.yaml'
'403':
$ref: '../../v3/responses/403.yaml'
'404':
$ref: '../../v3/responses/404.yaml'
'500':
$ref: '../../v3/responses/500.yaml'
put:
operationId: updatePasswordSyncGroup
tags:
- Password Sync Groups
summary: Update Password Sync Group by ID
description: >-
This API updates the specified password sync group.
A token with ORG_ADMIN authority is required to call this API.
# security:
# - oauth2: [ORG_ADMIN]
parameters:
- in: path
name: id
schema:
type: string
required: true
description: The ID of password sync group to update.
example: 6881f631-3bd5-4213-9c75-8e05cc3e35dd
requestBody:
required: true
content:
application/json:
schema:
$ref: '../schemas/PasswordSyncGroup.yaml'
example:
{
"id": "6881f631-3bd5-4213-9c75-8e05cc3e35dd",
"name": "Password Sync Group 2",
"passwordPolicyId": "2c91808d744ba0ce01746f93b6204501",
"sourceIds": ["2c918084660f45d6016617daa9210584", "2c918084660f45d6016617daa9210500"]
}
responses:
'200':
description: Reference to the password sync group.
content:
application/json:
schema:
$ref: '../schemas/PasswordSyncGroup.yaml'
example:
{
"id": "6881f631-3bd5-4213-9c75-8e05cc3e35dd",
"name": "Password Sync Group 2",
"passwordPolicyId": "2c91808d744ba0ce01746f93b6204501",
"sourceIds": ["2c918084660f45d6016617daa9210584", "2c918084660f45d6016617daa9210500"]
}
'400':
$ref: '../../v3/responses/400.yaml'
'403':
$ref: '../../v3/responses/403.yaml'
'404':
$ref: '../../v3/responses/404.yaml'
'500':
$ref: '../../v3/responses/500.yaml'
delete:
operationId: deletePasswordSyncGroup
tags:
- Password Sync Groups
summary: Delete Password Sync Group by ID
description: >-
This API deletes the specified password sync group.
A token with ORG_ADMIN authority is required to call this API.
# security:
# - oauth2: [ORG_ADMIN]
parameters:
- in: path
name: id
schema:
type: string
required: true
description: The ID of password sync group to delete.
example: 6881f631-3bd5-4213-9c75-8e05cc3e35dd
responses:
'204':
$ref: '../../v3/responses/204.yaml'
'400':
$ref: '../../v3/responses/400.yaml'
'403':
$ref: '../../v3/responses/403.yaml'
'500':
$ref: '../../v3/responses/500.yaml'