Skip to content

Commit 2e59dda

Browse files
committed
Document usage of null when updating tokens
Signed-off-by: Callum Brown <[email protected]>
1 parent bf28876 commit 2e59dda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/usage/administration/admin_api/registration_tokens.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,10 @@ Path parameters:
218218
The request body must be a JSON object and can contain the following fields:
219219
- `uses_allowed`: The integer number of times the token can be used to complete
220220
a registration before it becomes invalid.
221+
If `null` the token will have an unlimited number of uses.
221222
- `expiry_time`: The latest time the token is valid. Given as the number of
222223
milliseconds since 1970-01-01 00:00:00 UTC (the start of the Unix epoch).
224+
If `null` the token will not expire.
223225

224226
If a field is omitted its value is not modified.
225227

0 commit comments

Comments
 (0)