curl --request POST \
--url https://api.concord.tech/privacy-v1/organizations/{organizationId}/users \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"email": "jsmith@example.com",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"notes": "<string>",
"permissions": [
{
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"role": "owner"
}
]
}'
{
"inviteCode": [
"<any>"
],
"inviteDate": [
"<any>"
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": 123,
"dateUpdated": 123,
"email": "jsmith@example.com",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationName": "<string>",
"status": "pending",
"name": "<string>",
"notes": "<string>",
"permissions": [
{
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectName": "<string>",
"role": "owner"
}
],
"account": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"phoneNumber": "<string>"
}
}
Creates a new user in an organization.
curl --request POST \
--url https://api.concord.tech/privacy-v1/organizations/{organizationId}/users \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"email": "jsmith@example.com",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"notes": "<string>",
"permissions": [
{
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"role": "owner"
}
]
}'
{
"inviteCode": [
"<any>"
],
"inviteDate": [
"<any>"
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": 123,
"dateUpdated": 123,
"email": "jsmith@example.com",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationName": "<string>",
"status": "pending",
"name": "<string>",
"notes": "<string>",
"permissions": [
{
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectName": "<string>",
"role": "owner"
}
],
"account": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"phoneNumber": "<string>"
}
}
Default Response
The response is of type object
.