List credential sets

get

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/targetTypes/{type}/credentialSets

Gives list of target type credential Sets. Returns the first page of results by ordering name in ASC by default.

Request

Path Parameters
Query Parameters
  • If include=total information about total number of returned records will be included in the response
  • true when it is a monitoring credential set. false when it is preferred credential set.
    Example:
    false
  • Minimum Value: 1
    Maximum Value: 2000
    Number of Credential Sets to be fetched
    Default Value: 20
    Example:
    20
  • system generated page token used in the self, next and previous links.
  • Credential Set name
    Example:
    CREDSETNAME
  • Set name pattern to be filtered
    Example:
    ASMCredsMo
  • the order of the result set with direction. Allowed sort fields are target type and set name. Allowed directions are asc and desc. To sort more than one field, provide comma separated values like field1:direction1,field2:direction2
    Example:
    type:ASC,name:DESC

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

List of credentials set returned successfully
Body ()
Root Schema : CredentialSetCollection
Type: object
This is the representation of list of credential sets.
Show Source
Nested Schema : items
Type: array
the credentials Set list
Show Source
Nested Schema : CredentialSetSummary
Type: object
It represents information of a Credential Set
Show Source
Match All
Show Source
Nested Schema : supportedCredentialTypes
Type: array
Supported Credential Types
Show Source
Nested Schema : CredentialSetCommon
Type: object
It represents information of a Credential Set
Show Source
Examples

400 Response

request is not correct
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

401 Response

client is not authenticated
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

404 Response

target not found or not authorized
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

500 Response

internal error serving the request
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

503 Response

indicates that a required service is not available.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source
Back to Top