DELETE /user_permission.json

Description: Revokes a user’s permission to view or administrate the specified project.

API Endpoint URL:

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 revoke permission to. You can retrieve this number from the top of the Project Settings page of the relevant project in your account.

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

Example request:

curl \
  -d 'key=90c0d64fds653338as6869e54267e05&'

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