mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-06 04:19:09 +00:00
Add spec for NERM bulk delete user_profiles endpoint
This commit is contained in:
@@ -48,3 +48,18 @@ patch:
|
||||
$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:
|
||||
'200':
|
||||
$ref: "../responses/UserProfilesJob.yaml"
|
||||
'400':
|
||||
$ref: "../responses/400.yaml"
|
||||
'500':
|
||||
$ref: "../responses/500.yaml"
|
||||
14
nerm/requestBodies/DELETE/UserProfiles.yaml
Normal file
14
nerm/requestBodies/DELETE/UserProfiles.yaml
Normal 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
|
||||
Reference in New Issue
Block a user