- Home
- API Enriched
- Authentication
- web
- List service credentials.
List service credentials.
const url = 'https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/web/namespaces/example/service_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/service_credentials \ --header 'Authorization: <Authorization>'Request to list service credentials created by user.
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 service credential objects.
object
List of service credential items.
Each item of service 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.
object
List of all the roles for the entity in the namespaces Required: YES.
object
UUID of API credential object.
User email of user that requested credential .
User group list associated to this service 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