tenants
Update an Oauth-client with specified Tenant Id and Oauth-client Id
You need tenants.oauth_clients.edit permission to access this resource
patch/tenants/{tenant_id}/oauth-clients/{oauth-client_id}
Request
- Base URL: https://api.elastic.io/v2
- URL: https://api.elastic.io/v2/tenants/{tenant_id}/oauth-clients/{oauth-client_id}
- Auth: HTTP basic
Path parameters
tenant_idstring required
Tenant identifier
oauth-client_idstring required
Oauth-client identifier
Request body
Example request
{
"data": {
"attributes": {
"client_id": "4MVG1y6x0765HlefbXXkBfrJ4txm0m5Sb6NZlVBFmNfzNQWy7raJ0_nKanW4SgaOj7EJMII_HLPs4mbB0JxE4",
"client_secret": "9706536923706843944"
},
"relationships": {
"component": {
"data": {
"id": "5b4f337bff4304610483ba67"
}
}
}
}
}Response
OK
Example response
{
"data": {
"id": "5b4f337bff4304610483ba67",
"attributes": {
"client_id": "4MVG1y6x0765HlefbXXkBfrJ4txm0m5Sb6NZlVBFmNfzNQWy7raJ0_nKanW4SgaOj7EJMII_HLPs4mbB0JxE4",
"client_secret": "9706536923706843944"
},
"relationships": {
"component": {
"data": {
"id": "5b4f337bff4304610483ba67"
}
},
"links": {
"self": "/v2/components/5b4f337bff4304610483ba67"
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.