Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 2 additions & 68 deletions spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -11162,73 +11162,6 @@
"operationId": "usersDelete"
}
},
"/users.updateEmail": {
"post": {
"tags": [
"Users"
],
"summary": "Update a user's email",
"description": "Begin the process of changing a user's email address. For security the email is not changed immediately; a confirmation link is sent to the new address and the change only takes effect once that link is followed.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"description": "The new email address to change to."
},
"id": {
"type": "string",
"format": "uuid",
"description": "The user to update. Defaults to the authenticated user. Changing another user's email requires admin permission."
}
},
"required": [
"email"
]
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean",
"example": true
}
}
}
}
}
},
"400": {
"$ref": "#/components/responses/Validation"
},
"401": {
"$ref": "#/components/responses/Unauthenticated"
},
"403": {
"$ref": "#/components/responses/Unauthorized"
},
"404": {
"$ref": "#/components/responses/NotFound"
},
"429": {
"$ref": "#/components/responses/RateLimited"
}
},
"operationId": "usersUpdateEmail"
}
},
"/users.resendInvite": {
"post": {
"tags": [
Expand Down Expand Up @@ -11981,14 +11914,15 @@
"title",
"templateId",
"collectionId",
"createdById",
"userId",
"documentId",
"parentDocumentId"
]
},
"operator": {
"type": "string",
"description": "Comparison operator to apply. Note that some fields only accept a subset of operators – for example `userId` and `documentId` only support `eq` and `in`.",
"description": "Comparison operator to apply. Note that some fields only accept a subset of operators – for example `createdById`, `userId` and `documentId` only support `eq` and `in`.",
"enum": [
"eq",
"neq",
Expand Down
49 changes: 3 additions & 46 deletions spec3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7724,50 +7724,6 @@ paths:
"429":
"$ref": "#/components/responses/RateLimited"
operationId: usersDelete
"/users.updateEmail":
post:
tags:
- Users
summary: Update a user's email
description: Begin the process of changing a user's email address. For security the email is not changed immediately; a confirmation link is sent to the new address and the change only takes effect once that link is followed.
requestBody:
content:
application/json:
schema:
type: object
properties:
email:
type: string
format: email
description: The new email address to change to.
id:
type: string
format: uuid
description: The user to update. Defaults to the authenticated user. Changing another user's email requires admin permission.
required:
- email
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: true
"400":
"$ref": "#/components/responses/Validation"
"401":
"$ref": "#/components/responses/Unauthenticated"
"403":
"$ref": "#/components/responses/Unauthorized"
"404":
"$ref": "#/components/responses/NotFound"
"429":
"$ref": "#/components/responses/RateLimited"
operationId: usersUpdateEmail
"/users.resendInvite":
post:
tags:
Expand Down Expand Up @@ -8298,15 +8254,16 @@ components:
- title
- templateId
- collectionId
- createdById
- userId
- documentId
- parentDocumentId
operator:
type: string
description:
Comparison operator to apply. Note that some fields only
accept a subset of operators – for example `userId` and
`documentId` only support `eq` and `in`.
accept a subset of operators – for example `createdById`,
`userId` and `documentId` only support `eq` and `in`.
enum:
- eq
- neq
Expand Down
Loading