Delete Authorized Users
- Last Updated: February 2, 2024
- 2 minute read
- Hybrid Data Pipeline
- Version 5.0
- Documentation
Providing a body with the DELETE method is not forbidden by the HTTP specifications. However, many HTTP libraries either do not allow or do not work correctly when a body is specified in a DELETE request.
WORKAROUND: To delete one or more authorized users from an On-Premise Connector, issue a PUT request to the /connectors/<connector-ID>/authuser endpoint and remove the users to be deleted from the authuser array in the request payload.
Purpose
Revoke permission to use this On-Premises Connector from some or all users. If a user name is invalid, an error is returned and no user permissions are revoked.
URL
https://<myserver>:<port>/api/mgmt/connectors/<connector-ID>/authuser
Method
DELETE
URL Parameters
<myserver> is the hostname or IP address of the machine hosting the Hybrid Data Pipeline server for a non-load balancer deployment, or the machine hosting the load balancer for a load balancer deployment. For a non-load balancer deployment, <port> is the port number specified as the Server Access Port during deployment. For a load balancer deployment, <port> must be either 80 for http or 443 for https. Whenever port 80 or 443 are used, it is not necessary to include the port number in the URL.
<connector-ID> is a unique value associated with the On-Premises Connector. The value is returned using the <base>/connectors GET request. The authorized user must be the owner of the On-Premises Connector specified.
Request Payload Parameters
{
"authUser":[
<authorized-user>,
<authorized-user>,
…
<authorized-user>
]
}
| Parameter | Data Type | Description | Valid Values |
|---|---|---|---|
| authUser [authorized-user ] | Array [String] | Specifies the Hybrid Data Pipeline users who are authorized to use the On-Premises Connector. | authorized-user is a Hybrid Data Pipeline user who is authorized
to use the On-Premises Connector.
|
Sample Server Request
{
"authUser": [
"Joe",
"Fred",
"Tom"
]
}
Response Definition
{
"success":true
}
If the Remove Authorized User operation is not successful, the response is a standard error response.
Authentication
Basic Authentication using Login ID and Password.
Authorization
Any active Hybrid Data Pipeline user. The authenticated user must be the owner of the On-Premises Connector.