API Reference
Search…
API Reference
v1.7.3
Introduction
Integration
Sandbox and Live
Authentication
Rate Limits
Service Quota
Errors
Pagination
Filtering
Versioning
Core resources
Clients
Create a client
Get a client
Update a client
Delete a client
List clients
Filtering clients
Addresses
Documents
Live Photos
Live Videos
Checks
Risk Profile
Check types
AML Screening Check
Document Check
Identity Check
Enhanced Identity Check
Proof of Address Check
Multi-Bureau Check
Face Authentication Check
Lookups
Company Search
Address Search
Tools
Custom Lists
Static Data
Screening Lists
Supported Documents
Other Resources
Flow (Hosted Solution)
Webhooks
SDK Tokens
Autofill
Reports
Team Members
Audit Logs
Account Info
Powered By
GitBook
Update a client
post
https://api.complycube.com
/v1/clients/:id
Update a client
Example request
cURL
Node.js
Python
PHP
.NET
1
curl
-X POST https://api.complycube.com/v1/clients/
{
:clientId
}
\
2
-H
'Authorization: <YOUR_API_KEY>'
\
3
-H
'Content-Type: application/json'
\
4
-d
'{
5
"email": "
[email protected]
",
6
"personDetails":{
7
"firstName": "Jane",
8
"lastName": "Doe",
9
"dob":"1995-12-20",
10
"nationality": "US"
11
}
12
}'
Copied!
1
const
{
ComplyCube
}
=
require
(
"@complycube/api"
);
2
​
3
const
complycube
=
new
ComplyCube
({
apiKey
:
"<YOUR_API_KEY>"
});
4
​
5
const
client
=
await
complycube
.
client
.
update
(
"CLIENT_ID"
,
{
6
email
:
"
[email protected]
"
,
7
personDetails
:
{
8
firstName
:
"Jane"
,
9
lastName
:
"Doe"
,
10
dob
:
"1995-12-20"
,
11
nationality
:
"US"
12
}
13
});
Copied!
1
from
complycube
import
ComplyCubeClient
2
cc_api
=
ComplyCubeClient
(
api_key
=
'<YOUR_API_KEY>'
)
3
​
4
client
=
cc_api
.
clients
.
update
(
'CLIENT_ID'
,
email
=
'
[email protected]
'
)
Copied!
1
use
ComplyCube
\
ComplyCubeClient
;
2
​
3
$ccapi
=
new
ComplyCubeClient
(
'<YOUR_API_KEY>'
);
4
$updated
=
$ccapi
->
clients
()
->
update
(
$id
,
[
'email'
=>
'
[email protected]
'
]);
Copied!
1
using
ComplyCube
.
Net
;
2
using
ComplyCube
.
Net
.
Resources
.
Clients
;
3
​
4
var
clientApi
=
new
ClientApi
(
new
ComplyCubeClient
(
"<YOUR_API_KEY>"
));
5
​
6
var
update
=
new
ClientRequest
{
7
email
:
"
[email protected]
"
,
8
personDetails
=
new
PersonDetails
{
9
firstName
=
"Jane"
,
10
lastName
=
"Doe"
11
}
12
};
13
14
var
client
=
await
clientApi
.
UpdateAsync
(
"CLIENT_ID"
,
update
);
Copied!
​
Previous
Get a client
Next
Delete a client
Last modified
7mo ago
Copy link
Contents
post
Update a client
Example request