Skip to content

Commit

Permalink
Document usage of null when updating tokens
Browse files Browse the repository at this point in the history
Signed-off-by: Callum Brown <[email protected]>
  • Loading branch information
govynnus committed Aug 20, 2021
1 parent bf28876 commit 2e59dda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/usage/administration/admin_api/registration_tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,10 @@ Path parameters:
The request body must be a JSON object and can contain the following fields:
- `uses_allowed`: The integer number of times the token can be used to complete
a registration before it becomes invalid.
If `null` the token will have an unlimited number of uses.
- `expiry_time`: The latest time the token is valid. Given as the number of
milliseconds since 1970-01-01 00:00:00 UTC (the start of the Unix epoch).
If `null` the token will not expire.

If a field is omitted its value is not modified.

Expand Down

0 comments on commit 2e59dda

Please sign in to comment.