Skip to main content

Update a service account.

PUT 

<your-unleash-url>/api/admin/service-account/:id

Updates an existing service account identified by its id.

Request

Responses

#/components/schemas/serviceAccountSchema

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L -X PUT '<your-unleash-url>/api/admin/service-account/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>' \
-d '{
"name": "Service Account 1",
"rootRole": 1
}'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Parameters
— pathrequired
Body required
{
  "name": "Service Account 1",
  "rootRole": 1
}
ResponseClear

Click the Send API Request button above and see the response here!