Delete LDAP Configuration
delete
/api/v1/configuration/ldapConfig/{id}
Deletes the LDAP configuration.
Request
Supported Media Types
- application/json
Path Parameters
-
id: string
Unique LDAP configuration identifier
Response
Supported Media Types
- application/json
200 Response
OK
400 Response
Bad Request
Root Schema : Error
Type:
object
Error Information.
Show Source
-
errors(optional):
array errors
list of errors
-
message:
string
A human-readable error string.
-
status:
string
A short error status that defines the error, meant for programmatic parsing.
-
warnings(optional):
array warnings
list of warnings
401 Response
Unauthorized
Root Schema : Error
Type:
object
Error Information.
Show Source
-
errors(optional):
array errors
list of errors
-
message:
string
A human-readable error string.
-
status:
string
A short error status that defines the error, meant for programmatic parsing.
-
warnings(optional):
array warnings
list of warnings
404 Response
Not Found
Root Schema : Error
Type:
object
Error Information.
Show Source
-
errors(optional):
array errors
list of errors
-
message:
string
A human-readable error string.
-
status:
string
A short error status that defines the error, meant for programmatic parsing.
-
warnings(optional):
array warnings
list of warnings
409 Response
Operation conflict
Root Schema : Error
Type:
object
Error Information.
Show Source
-
errors(optional):
array errors
list of errors
-
message:
string
A human-readable error string.
-
status:
string
A short error status that defines the error, meant for programmatic parsing.
-
warnings(optional):
array warnings
list of warnings
Examples
This endpoint is used to delete a specified LDAP configuration in your Blockchain platform.
The following example shows how to delete a LDAP configuration by submitting a DELETE request on the REST resource using cURL.
curl -X DELETE \ http://<hostname>:<port>/api/v1/configuration/ldapConfig/<unique LDAP config identifier>
For example,
curl -X DELETE \ http://localhost:17070/api/v1/configuration/ldapConfig/1f911701-5bbc-41d1-840b-894cd8c79f55
Example of the Response Body
The following example shows the contents of the response body in JSON format:
{ "status": "200", "message": "LDAP Configuration deleted successfully" }