POST /v1/customers/{customer_account_id}/identities:sync
TenantService_SyncCustomerIdentity
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
customer_account_idpath · string · required
Request body
customer_account_idstringenvironment_idstringexternal_versionstringidentityobjectExpand fields
issuerstringproviderstringrolestringsubjectstring
statusstring
cURL
curl --request POST 'https://pay.bytecome.com/v1/customers/{customer_account_id}/identities:sync' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"environment_id": "<environment-id>",
"identity": {
"provider": "casdoor",
"issuer": "https://identity.example.com",
"subject": "<stable-subject>",
"role": "VIEWER"
},
"status": "REVOKED",
"external_version": "2"
}'Response contract
200 · OK
external_versionstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.