user
Set CLI secret for a user.
This endpoint let user generate a new CLI secret for himself. This API only works when auth mode is set to 'OIDC'. Once this API returns with successful status, the old secret will be invalid, as there will be only one CLI secret for a user.
put/users/{user_id}/cli_secret
Request
- Base URLhttp://localhost/api/v2.0
- Auth
- HTTP basic
- or none
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_idinteger required
User ID
Headers
X-Request-Idstring
An unique ID for the request
Request body
Response
The secret is successfully updated
Changes
No recorded changes to this operation across all 1 revision of this API.