mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
26 lines
715 B
YAML
26 lines
715 B
YAML
post:
|
|
description: Accepts and enables an invited user using a JWT invitation token.
|
|
operationId: acceptInvite
|
|
parameters:
|
|
- description: JWT token that was sent in the email.
|
|
in: path
|
|
name: token
|
|
required: true
|
|
schema:
|
|
type: integer
|
|
responses:
|
|
'200':
|
|
description: Successful request
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
data:
|
|
$ref: '../../openapi.yaml#/components/schemas/User'
|
|
'401':
|
|
$ref: '../../openapi.yaml#/components/responses/UnauthorizedError'
|
|
'404':
|
|
$ref: '../../openapi.yaml#/components/responses/NotFoundError'
|
|
tags:
|
|
- Users |