
patch
/v4/workspaces/{workspaceId}/service-accounts/{id}
Rename, disable or re-enable a service account. Needs service_account.manage on it. Managing the credentials of a service account lets the holder act with that service account's rights.
Path parameters
workspaceIdstring (uuid)required
idstring (uuid)required
Request body
namestringdisabledbooleantruefalseResponses
200Response for status 200
Schema
object
idstringrequired
namestringrequired
workspaceIdstringrequired
disabledbooleanrequired
createdAtstringrequired
createdByUserIdstring | nullrequired
Example
{
"id": "string",
"name": "string",
"workspaceId": "string",
"disabled": false,
"createdAt": "string",
"createdByUserId": "string"
}patch
https://api.merkl.xyz/v4/workspaces//service-accounts/curl -X PATCH "https://api.merkl.xyz/v4/workspaces/{workspaceId}/service-accounts/{id}"Live request: this will call https://api.merkl.xyz/ for real.