Description

Remove a user's access to a feature

Parameters

Name Type Required Optional Searchable Note
userid numeric REQUIRED, Passed via URI
accessmoduleid numeric REQUIRED, Passed via URI

Examples

Example Request

http://devsandbox.targetsolutions.com/v1/users/{userid}/access/modules/{accessmoduleid}

Example Header

DELETE /users/{userid}/access/modules/{accessmoduleid} HTTP/1.1
Host: http://devsandbox.targetsolutions.com/v1
AccessToken: 6ePH7bXyaOka5Va5CB6J1A==
Cache-Control: no-cache

Possible Results Sets

Results Set

{
  "httpcode":202,
  "moreinfo":"http://developers.targetsolutions.com/v1/responsecodes/703",
  "developermessage":"The request has been fulfilled and resulted in a resource being deleted.",
  "statuscode":703,
  "status":"accepted"
}

Access Denied Set

{
  "httpcode":401,
  "moreinfo":"http://developers.targetsolutions.com/v1/responsecodes/800",
  "developermessage":"A request was made to a resource that you do not have ownership of.",
  "statuscode":800,
  "status":"access denied"
}