GET/v2/projects/{projectId}/api-keys

List API keys for a project

Lists the API keys associated with a project in a paginated response. Supply pageable to control the page index, page size, and sorting, and use projectId to select the project.

2 parameters
projectIdintegerrequired
The integer identifier of the project whose API keys to list.
pageableobjectrequired
Pagination and sorting criteria for the API key list. The page index must be 0 or greater, the page size must be at least 1, and sorting criteria use string values.

5 status codes
200Returns a page of API keys with pagination metadata, including the page number, page size, total elements, and total pages.
_embeddedobjectoptional
pageobjectoptional
400Returned when a parameter value is invalid.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
401Returned when the request is unauthenticated.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
403Returned when you do not have permission to access the project's API keys.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
404Returned when the project is not found.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional

Error handling

A 400 is returned when a parameter value is invalid; a 401 when authentication is missing or invalid; a 403 when you lack access; and a 404 when the project is not found. The pageable query parameter supports a page index of 0 or greater and a page size of at least 1. The projectId path parameter must identify the project.