Skip to content

Add option to set enrollment token validity period through API #1669

@wojcik91

Description

@wojcik91

When a new token is generated with the POST /api/v1/user/{username}/start_enrollment endpoint we should add a new optional argument to specify how long the token should be valid for.

Currently all enrollment tokens are valid for 24h.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Ready to release

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions