View source: R/api_connector.R
This function allows you to PUT User new information with the API and retrieve your API KEY
1 2 3 4 5 6 7 8 9 10 | asapi_user_put(
client,
email,
new_username = "NULL",
new_email = "NULL",
new_rol = "NULL",
email_admin,
api_key,
url = "https://api.agrospace.cl"
)
|
client |
Client name |
email |
What is the email of the user to edit. |
new_username |
New user name. If the value is 'NULL' it does not change. |
new_email |
New email user. If the value is 'NULL' it does not change. |
new_rol |
New user rol: admin or user. If the value is 'NULL' it does not change. |
email_admin |
Email of the user who is editing. It must be 'admin'. |
api_key |
Api Key obtain from /auth |
url |
URL for dev purpose |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.