Set Permissions for a Team Member based on information sent via an http form post.
Field | Max Length | Required | Notes |
---|---|---|---|
response_type | false | Default results will be returned in XML. Set this field value to json to return results in JSON format | |
apiusername | true | API User Name and password are assigned by AllClients | |
apipassword | true | API User Name and password are assigned by AllClients | |
accountid | true | Must be numeric. Account ID for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel | |
teammemberid | true | Must be numeric. Leave blank or use 0 (zero) for team leader | |
permissions | true | JSON formatted object (named pairs of permissions and their value) Example: {"ContactAdd": "Deny", "ContactEdit": "Grant", "ContactDelete: "Deny"} |