windmill-api 1.890.0

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# NewToken

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**label** | Option<**String**> |  | [optional]
**expiration** | Option<**String**> |  | [optional]
**scopes** | Option<**Vec<String>**> |  | [optional]
**workspace_id** | Option<**String**> | Bind the token to this workspace: it is then refused on every other workspace and on instance-level endpoints. Omit for a token that reaches every workspace.  | [optional]
**read_only** | Option<**bool**> | If true, the token is restricted to read-only HTTP methods (GET/HEAD/OPTIONS). Mutating endpoints and job-run actions are rejected with 403, regardless of the scopes attached.  | [optional]
**super_admin** | Option<**bool**> | Carry the owner's superadmin rights: admin in every workspace, including ones they are not a member of, and the superadmin endpoints. Defaults to false, and is ignored when the owner or the calling token does not hold them.  | [optional]
**admin** | Option<**bool**> | Carry the owner's workspace admin rights in the workspaces the token reaches. Defaults to false: the token then acts as a regular member. Ignored when the calling token does not hold them.  | [optional]
**allowed_ips** | Option<**Vec<String>**> | IPs or CIDRs (IPv4 or IPv6) the token may be used from; omit to allow any. A request from elsewhere is refused as unauthenticated. A token that is itself restricted can only create tokens within its own networks, and creates one restricted to them when this is omitted.  | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)