Authenticate public APIs

The Continuous Delivery API supports authentication via personal access tokens associated with Continuous Delivery accounts. Authentication tokens are tied to the permissions granted to the user through role-based access control (RBAC), and they provide the user with the appropriate access to application programming interfaces (APIs).

Before you begin:
You need the personal access token you created in Add a personal access token. It is required for authentication.

Using personal access token to authenticate the Continuous Delivery public API.

  1. Add the personal access token you copied when creating the token and add this to the Authorization header of the API call. For example:
    curl --insecure --header \ 
     "Authorization: <token value>" \ 
     "https://<hostname>/cd4pe/api/v1/user"