perpetual oauth-client
Manage OAuth clients.
perpetual oauth-client create
Create a new OAuth client.
perpetual oauth-client create <name> [flags]
Changes: Writes live, outside any changeset. The API cannot stage OAuth clients: no OauthClients* request accepts a changesetId. They are auth-plane management, like login and logout.
Output: With --json, prints its result in the JSON envelope and any error in the error envelope.
Arguments
| Argument | Required | Description |
|---|---|---|
name | Required | OAuth client name. |
Flags
| Flag | Type | Required | Description |
|---|---|---|---|
--allowed-grants | string, repeatable | Optional | Grant types, comma-separated or repeated (authorization_code, client_credentials, refresh_token). |
--redirect-uris | string, repeatable | Optional | Redirect URIs, comma-separated or repeated (required for authorization_code grants). |
Also accepts the global flags, including the sign-in flags.
perpetual oauth-client delete
Delete an OAuth client.
perpetual oauth-client delete <id> [flags]
Changes: Writes live, outside any changeset. The API cannot stage OAuth clients: no OauthClients* request accepts a changesetId. They are auth-plane management, like login and logout.
Output: With --json, prints its result in the JSON envelope and any error in the error envelope.
Arguments
| Argument | Required | Description |
|---|---|---|
id | Required | OAuth client ID. |
Flags
| Flag | Type | Required | Description |
|---|---|---|---|
--force | boolean | Optional | Skip confirmation prompt (required in non-interactive mode). |
Also accepts the global flags, including the sign-in flags.
perpetual oauth-client list
List OAuth clients.
perpetual oauth-client list [flags]
Changes: Stages nothing.
Output: With --json, prints its result in the JSON envelope and any error in the error envelope.
Flags
| Flag | Type | Required | Description |
|---|---|---|---|
--top | string | Optional | Items per page (server default 100). |
--skip | string | Optional | Number of items to skip. |
--all | boolean | Optional | Fetch every page (1000 items per request). |
Also accepts the global flags, including the sign-in flags.
Perpetual CLI 0.5.0