Files
directus/packages/spec/specs/paths/users/user-invite-token.yaml
2020-09-14 20:01:01 +02:00

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