POST /user_permission.json

Description: Grants a user permission to view or administrate a specific project.

API Endpoint URL: https://api.improvely.com/v1/user_permission.json

Attribute Required Default Description
key Your API key
id The ID number of the user to delete.
email The e-mail address of the user to delete.
project The ID number of the Improvely project to grant this permission to. You can retrieve this number from the top of the Project Settings page of the relevant project in your account.
permission “view” will provide read-only access to the project’s reports
“full” will provide full administrative access to the project’s reports, links and settings

Note: Either id or email must be provided to identify which user to grant this permission to.

Example request:

curl https://api.improvely.com/v1/user_permission.json \
  -X POST \
  -d 'key=90c0d64fds653338as6869e54267e05&email=dan@awio.com&project=1&permission=full'

Example successful response (HTTP status code 200):

{
    "status": "success"
}

Example failure response (HTTP status code: 400):

{
    "status": "error",
    "type": "parameters",
    "message": "Missing parameter: either `id` or `email` must be provided."
}

More from this category
Conversion tracking and click fraud monitoring for all your marketing.   Start a Free Trial