PATCH /v1/service-accounts/{service_account_id}
TenantService_UpdateServiceAccount
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
service_account_idpath · string · required
Request body
expected_versionstringservice_account_idstringstatusstring
cURL
curl --request PATCH 'https://nexus-api.rainlib.com/v1/service-accounts/{service_account_id}' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"expected_version": "<value>",
"status": "<value>"
}'Response contract
200 · OK
allowed_scopesarraycodestringcreated_atstringdescriptionstringidstringnamestringowner_display_namestringowner_emailstringowner_user_idstringstatusstringtenant_idstringupdated_atstringversionstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.