mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-05 23:07:44 +00:00
api.md: document the invalid
field in Get Key API response
Updates tailscale/terraform-provider-tailscale#144 Signed-off-by: Anton Tolchanov <anton@tailscale.com>
This commit is contained in:
parent
241c983920
commit
75dbd71f49
12
api.md
12
api.md
@ -1434,6 +1434,18 @@ The response is a JSON object with information about the key supplied.
|
||||
}
|
||||
```
|
||||
|
||||
Response for a revoked (deleted) or expired key will have an `invalid` field set to `true`:
|
||||
|
||||
``` jsonc
|
||||
{
|
||||
"id": "abc123456CNTRL",
|
||||
"created": "2022-05-05T18:55:44Z",
|
||||
"expires": "2022-08-03T18:55:44Z",
|
||||
"revoked": "2023-04-01T20:50:00Z",
|
||||
"invalid": true
|
||||
}
|
||||
```
|
||||
|
||||
<a href="tailnet-keys-key-delete"></a>
|
||||
|
||||
## Delete key
|
||||
|
Loading…
x
Reference in New Issue
Block a user