UpdateClientCredential
Reques body for updating a ClientCredential object
Human readable name for the client credential
Optional human readable comment
target objectrequired
ApiTargetHandle represents a reference to an API target (ID and optional metadata)
API target unique identifier
Optional human readable API target name
Whether the API target has been deleted
NotBefore specifies the start of the client credential validity period. NotBefore is not allowed to move backward in time.
NotAfter specifies the end of the client credential validity period. NotAfter is not allowed to move forward in time.
Optional IP address and/or CIDRs from which requests using this client credential are allowed.
Controls whether a valid PrivX login session is required for the owner of the client credential when using it. When set to DEFAULT, the API Proxy level setting require_privx_login_session decides the behaviour.
Possible values: [DEFAULT, ENABLED, DISABLED]
Whether this client credential is enabled or not. Requests authenticated with disabled credentials are rejected.
Client credential type must match the type of the existing client credential object.
Possible values: [token, basicauth, certificate]
{
"name": "string",
"comment": "string",
"target": {
"id": "string",
"name": "string",
"deleted": true
},
"not_before": "2024-07-29T15:51:28.071Z",
"not_after": "2024-07-29T15:51:28.071Z",
"source_address": [
"string"
],
"privx_login_session_required": "DEFAULT",
"enabled": true,
"type": "token"
}