For the complete documentation index, see llms.txt. For the full documentation snapshot, see llms-full.txt.
Patch an existing OAuth 2.0 client by client ID. Updating an OAuth2 client uses a JSON patch representation of the desired changes. To learn more, read Updates. Only name, description, and redirectUri may be patched.
curl --request PATCH \
--url https://app.launchdarkly.com/api/v2/oauth/clients/{clientId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"op": "replace",
"path": "/name",
"value": "Example Client V2"
}
]
'{
"_links": {
"parent": {
"href": "/api/v2/oauth/clients",
"type": "application/json"
},
"self": {
"href": "/api/v2/oauth/clients/50666563-9144-4125-b822-33f308227e45",
"type": "application/json"
}
},
"name": "<string>",
"_accountId": "<string>",
"_clientId": "<string>",
"redirectUri": "<string>",
"_creationDate": "1494437420312",
"description": "<string>",
"_clientSecret": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The client ID
OAuth 2.0 client response
The location and content type of related resources
Show child attributes
{
"parent": {
"href": "/api/v2/oauth/clients",
"type": "application/json"
},
"self": {
"href": "/api/v2/oauth/clients/50666563-9144-4125-b822-33f308227e45",
"type": "application/json"
}
}Client name
The account ID the client is registered under
The client's unique ID
The client's redirect URI
Timestamp of client creation date
"1494437420312"
Client description
The client secret. This will only be shown upon creation.
curl --request PATCH \
--url https://app.launchdarkly.com/api/v2/oauth/clients/{clientId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"op": "replace",
"path": "/name",
"value": "Example Client V2"
}
]
'{
"_links": {
"parent": {
"href": "/api/v2/oauth/clients",
"type": "application/json"
},
"self": {
"href": "/api/v2/oauth/clients/50666563-9144-4125-b822-33f308227e45",
"type": "application/json"
}
},
"name": "<string>",
"_accountId": "<string>",
"_clientId": "<string>",
"redirectUri": "<string>",
"_creationDate": "1494437420312",
"description": "<string>",
"_clientSecret": "<string>"
}