Files
api-specs/idn/beta/paths/identity-attribute.yaml
GitHub Action Bot 05a43a62ce Automated commit 'Merge pull request #1502 from sailpoint/th/idnarsenal-20689
IDNARSENAL-20689: added descriptions, fixed response code' by github action: 7065481518
2023-12-01 21:40:26 +00:00

113 lines
3.1 KiB
YAML

get:
operationId: getIdentityAttribute
tags:
- Identity Attributes
summary: Get Identity Attribute
description: >-
This gets an identity attribute for a given technical name.
security:
- UserContextAuth: [ idn:identity-profile-attribute:read ]
parameters:
- in: path
name: name
schema:
type: string
description: The attribute's technical name.
required: true
example: displayName
responses:
"200":
description: The identity attribute with the given name
content:
application/json:
schema:
$ref: "../../v3/schemas/identity-attributes/IdentityAttribute.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"
put:
operationId: putIdentityAttribute
tags:
- Identity Attributes
summary: Update Identity Attribute
description: >-
This updates an existing identity attribute.
Making an attribute searchable requires that the `system`, `standard`, and `multi` properties be set to false.
security:
- UserContextAuth: [ idn:identity-profile-attribute:create ]
parameters:
- in: path
name: name
schema:
type: string
description: The attribute's technical name.
required: true
example: displayName
requestBody:
required: true
content:
application/json:
schema:
$ref: "../../v3/schemas/identity-attributes/IdentityAttribute.yaml"
responses:
"200":
description: The identity attribute was updated successfully
content:
application/json:
schema:
$ref: "../../v3/schemas/identity-attributes/IdentityAttribute.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"
delete:
operationId: deleteIdentityAttribute
tags:
- Identity Attributes
summary: Delete Identity Attribute
description: >-
This deletes an identity attribute with the given name.
The `system` and `standard` properties must be set to false before you can delete an identity attribute.
security:
- UserContextAuth: [ idn:identity-profile-attribute:delete ]
parameters:
- in: path
name: name
schema:
type: string
description: The attribute's technical name.
required: true
example: displayName
responses:
"204":
$ref: "../../v3/responses/204.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"