/environment/accounts
The accounts attached to the current person.
POST /environment/accounts HTTP/1.1
Host: localhost:3000
publish_repertory
permission is required.Name | Description | Type |
---|---|---|
|
The name of the account. |
|
|
The type of the account. |
|
|
The activity of the account. |
|
|
The ID of the |
|
|
The website url of the account. |
|
|
The mail addresses of the account. |
|
|
The type attached to the mail address. |
|
|
The mail address. |
|
|
If the address is the main mail. |
|
|
The phone numbers of the account. |
|
|
The type attached to the phone number. |
|
|
The phone number. |
|
|
If the number is the main phone. |
|
|
The postal addresses of the account. |
|
|
The type attached to the postal address. |
|
|
The address lane number. |
|
|
The address lane name. |
|
|
The address complement. |
|
|
The address zip. |
|
|
The address city. |
|
|
The address region. |
|
|
The address country. |
|
|
If the address is the main address. |
|
|
Notes about the account. |
|
|
Custom fields attached to the account. |
|
|
An array of |
|
|
The privacy of the account. |
|
|
The value of the privacy. |
|
|
The privacy permission. |
|
|
|
|
|
|
If successful :
{
"success" : true,
"_id" : "..."
}
Otherwise a relevant error message will be returned.
You can update accounts by using the /account
edge.
You can delete accounts by using the /account
edge.