mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-10 20:37:49 +00:00
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:
@@ -68,6 +68,48 @@ post:
|
|||||||
$ref: "../../v3/responses/429.yaml"
|
$ref: "../../v3/responses/429.yaml"
|
||||||
"500":
|
"500":
|
||||||
$ref: "../../v3/responses/500.yaml"
|
$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:
|
delete:
|
||||||
operationId: deleteIdentityAttribute
|
operationId: deleteIdentityAttribute
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
@@ -12,10 +12,7 @@ post:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
name: ids
|
$ref: "../../v3/schemas/identity-attributes/IdentityAttributeNames.yaml"
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
responses:
|
responses:
|
||||||
"204":
|
"204":
|
||||||
$ref: "../../v3/responses/204.yaml"
|
$ref: "../../v3/responses/204.yaml"
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
name: ids
|
||||||
|
description: List of identity attributes' technical names
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
example: "name"
|
||||||
|
example: ["name","displayName"]
|
||||||
Reference in New Issue
Block a user