REST API authentication - CustomerID
Currently CustomerID REST API only supports a single API user account. The user credentials can be given in two ways: as request URL parameters (not form parameters in request content) or using HTTP basic access authentication. We recommend using HTTP basic access authentication.
Name | Accepted Values | Multivalued | Mandatory | Default | Description |
---|---|---|---|---|---|
username | String | Â | X | Â | Username configured in CustomerID. |
password | String | Â | X | Â | Password configured in CustomerID. |
Examples using curl:
- HTTP basic access authentication
- curl --insecure -X GET -u <username>:<password> "https://localhost:7443/customerid-rest/services/2.0/users/"
- Request URL parameters
- curl --insecure -X GET "https://localhost:7443/eidm2/services/users/?username=<username>&password=<password>&recursive=true"