API Documentation
|
where {orgId}
is the ID of an organisation and {whitelistId}
is the ID of a user whitelist rule.
PUT
- modifies the description of an existing user whitelist rule (specified by whitelistId
) in an organisation (specified by orgId
).DELETE
- deletes an existing user whitelist rule (specified by whitelistId
) from an organisation (specified by orgId
).Note: The
DELETE
method takes no parameters.
This API endpoint serves a number of purposes:
whitelistId
) in an organisation (specified by orgId
). A user whitelist rule's ID can be obtained by calling the GET
method of the <access-service>/api/v1/organisations/{orgId}/userwhitelist API endpoint, which retrieves a list of information for all user whitelist rules in an organisation (specified by orgId
). whitelistId
) from an organisation (specified by orgId
). This API endpoint supports requests utilizing Cocoon Data user accounts with the following roles (as described in the Organisation Administrator's Guide) and conditions:
{orgId}
in the request's URL.The Cocoon Data Platform's resources available to a Cocoon Data user meeting the criteria above is determined by the access token submitted in the header of requests to this endpoint.
The appropriate access token as the Bearer
token:
Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE0NjcwMTY2NjYsInVzZXJfbmFtZSI6ImFsZXgub...
The following header is required if the body of the request has a JSON object:
Content-Type: application/json
The following optional parameters can be sent in the body of the PUT request, each as individual members of a JSON object:
If the request succeeded, then an HTTP response status 200 OK
is returned.
For successful PUT
requests only, a JSON-formatted response containing the following members is also returned: