Automated commit 'IDNARSENAL-19955: added docs for PUT /beta/identity-attributes/{name} (#1443)

* IDNARSENAL-19955: added docs for PUT /beta/identity-attributes/{name}

* IDNARSENAL-19955: fix operationId' by github action: 6470383938
This commit is contained in:
GitHub Action Bot
2023-10-10 14:00:08 +00:00
parent 1f8f08660f
commit a9b417c85c
3 changed files with 50 additions and 4 deletions

View File

@@ -68,6 +68,48 @@ post:
$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.
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:
"201":
description: The identity attribute was created 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:

View File

@@ -12,10 +12,7 @@ post:
content:
application/json:
schema:
name: ids
type: array
items:
type: string
$ref: "../../v3/schemas/identity-attributes/IdentityAttributeNames.yaml"
responses:
"204":
$ref: "../../v3/responses/204.yaml"

View File

@@ -0,0 +1,7 @@
name: ids
description: List of identity attributes' technical names
type: array
items:
type: string
example: "name"
example: ["name","displayName"]