Skip to content

Commit

Permalink
Automated commit 'IDNARSENAL-19955: added docs for PUT /beta/identity…
Browse files Browse the repository at this point in the history
…-attributes/{name} (#1443)

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

* IDNARSENAL-19955: fix operationId' by github action: 6470383938
  • Loading branch information
tyler-mairose-sp committed Oct 10, 2023
1 parent 1f8f086 commit a9b417c
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 4 deletions.
42 changes: 42 additions & 0 deletions idn/beta/paths/identity-attribute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 1 addition & 4 deletions idn/beta/paths/identity-attributes-bulk-delete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: ids
description: List of identity attributes' technical names
type: array
items:
type: string
example: "name"
example: ["name","displayName"]

0 comments on commit a9b417c

Please sign in to comment.