Add spec for NERM bulk delete user_profiles endpoint

This commit is contained in:
aaron-beck-sp
2023-08-03 15:48:57 -04:00
parent 4eae657078
commit 83d01460c0
2 changed files with 29 additions and 0 deletions

View File

@@ -41,6 +41,21 @@ patch:
- user profiles - user profiles
requestBody: requestBody:
$ref: "../requestBodies/PATCH/UserProfiles.yaml" $ref: "../requestBodies/PATCH/UserProfiles.yaml"
responses:
'200':
$ref: "../responses/UserProfilesJob.yaml"
'400':
$ref: "../responses/400.yaml"
'500':
$ref: "../responses/500.yaml"
delete:
summary: Delete multiple user-profile contributor relationships
operationId: deleteUserProfiles
description: Delete multiple user-profile contributor relationships
tags:
- user profiles
requestBody:
$ref: "../requestBodies/DELETE/UserProfiles.yaml"
responses: responses:
'200': '200':
$ref: "../responses/UserProfilesJob.yaml" $ref: "../responses/UserProfilesJob.yaml"

View File

@@ -0,0 +1,14 @@
required: true
content:
application/json:
schema:
type: object
properties:
profiles:
type: array
items:
type: object
properties:
id:
type: string
format: uuid