Skip to main content
Sub Organization - Service AccountUpdate Service Account
TestMu AI
StatusCommunityBlog
Sub Organization - Service Account

Update Service Account

Update Service Account

PUT
/api/organization/sub-org/{sub_org_id}/service-accounts/{id}
Update Service Account
curl --request PUT \
--url "https://auth.lambdatest.com//api/organization/sub-org/{sub_org_id}/service-accounts/{id}" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"name": "<name>"
}'
{
"message": "Service Account updated successfully",
"type": "success"
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

sub_org_idintegerrequired

Sub Organization ID

idintegerrequired

Sub Org Service Account ID

Body

application/json
namestring

Response

application/json

Update Service Account

messagestring
typestring
Update Service Account
curl --request PUT \
--url "https://auth.lambdatest.com//api/organization/sub-org/{sub_org_id}/service-accounts/{id}" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"name": "<name>"
}'
{
"message": "Service Account updated successfully",
"type": "success"
}