mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-07 16:17:41 +00:00
api.md: add expirySeconds as parameter to post Tailnet keys
Updates #4570 Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
parent
e966f024b0
commit
d0b7a44840
7
api.md
7
api.md
@ -820,6 +820,10 @@ Supply the tailnet in the path.
|
|||||||
|
|
||||||
###### POST Body
|
###### POST Body
|
||||||
`capabilities` - A mapping of resources to permissible actions.
|
`capabilities` - A mapping of resources to permissible actions.
|
||||||
|
|
||||||
|
`expirySeconds` - (Optional) How long the key is valid for in seconds.
|
||||||
|
Defaults to 90d.
|
||||||
|
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"capabilities": {
|
"capabilities": {
|
||||||
@ -833,7 +837,8 @@ Supply the tailnet in the path.
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"expirySeconds": 1440
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user