- Home
- API Enriched
- Authentication
- web
- List API Credentials.
List API Credentials.
const url = 'https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/web/namespaces/example/api_credentials';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/web/namespaces/example/api_credentials \ --header 'Authorization: <Authorization>'Returns list of API credential of all types created by the user. Query will look into tenants system namespace.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Namespace Value of namespace is always “system”.
Responses
Section titled “Responses”A successful response.
Response of request to list all of users credential objects.
object
List of credential items.
Each item of credential list request.
object
Possibility to deactivate credential with no deletion.
Create time of API credential.
Expiry time of credential.
Name of API credential object.
Namespace of API credential object.
UUID of API credential object.
User email of user that requested credential .
Example
{ "items": [ { "type": "API_CERTIFICATE" } ]}Returned when operation is not authorized.
Examplegenerated
exampleReturned when there is no permission to access resource.
Examplegenerated
exampleReturned when resource is not found.
Examplegenerated
exampleReturned when operation on resource is conflicting with current value.
Examplegenerated
exampleReturned when operation has been rejected as it is happening too frequently.
Examplegenerated
exampleReturned when server encountered an error in processing API.
Examplegenerated
exampleReturned when service is unavailable temporarily.
Examplegenerated
exampleReturned when server timed out processing request.
Examplegenerated
example