Skip to main content
PATCH
/
v1
/
clients
/
{client}
/
credentials
/
{credential}
Update ClientCredential
curl --request PATCH \
  --url https://iam.eu.confidence.dev/v1/clients/{client}/credentials/{credential} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "displayName": "<string>",
  "createTime": {},
  "updateTime": {},
  "creator": "<string>",
  "updater": "<string>",
  "name": "<string>",
  "clientSecret": {},
  "lastSeenTime": {},
  "environments": [
    "<string>"
  ],
  "labels": [
    {}
  ],
  "sdkType": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

client
string
required
credential
string
required

Query Parameters

updateMask
object

The list of fields to update. Fields are specified relative to the client client credential (e.g. display_name; not client_credential.display_name).

Body

application/json

The body is of type object.

Response

200 - application/json

OK

The credentials required for a client to access Confidence.

displayName
string
required

Human friendly name of the credential.

createTime
object
required

Time when the client was first created.

updateTime
object
required

Time when the client was last updated.

creator
string
required

Reference to the identity that created this credential.

updater
string
required

Reference to the identity that last updated this credential.

name
string

The resource name of the client. For example: clients/1bhq4c2zqigdzqg6ufni/credentials/3pxcfkkmi5sppg0lfa8d

clientSecret
object

A simple plaintext secret.

lastSeenTime
object

The last time this credential was used to resolve a flag.

environments
string[]

List of environments this credential is enabled for. If this list is empty, the credential is enabled for all environments.

labels
object[]

General set of labels for this resource.

sdkType
object

The type of SDK this credential is intended for.