Configuration Management API

/api/space/configuration-management/cli-configlets/{id}

The following operations are supported on this resource:

  • GET - Gets a CLI configlet by ID
  • PUT - Updates a CLI configlet
  • DELETE - Deletes a CLI configlet

GET /api/space/configuration-management/cli-configlets/{id} (v2)


This API is used to get the CLI configlet by configlet ID.

Access Control

The following capabilities are required to access this API:
"ViewCliTemplateCap"


Example Usage

GET /api/space/configuration-management/cli-configlets/{id}


Parameters

NameTypeURI TypeDescriptionRequired
idintPathThe ID of the CLI configlet to be retrieved. Y

Content Types


    For other non-deprecated versions of this API, refer to :
  • version 1


PUT /api/space/configuration-management/cli-configlets/{id} (v2)


This API is used to update the CLI configlet.

Access Control

The following capabilities are required to access this API:
"EditCliTemplateCap"


Example Usage

PUT /api/space/configuration-management/cli-configlets/{id}


Parameters

NameTypeURI TypeDescriptionRequired
idIntegerPathThe ID of the CLI configlet to update Y

Content Types


    For other non-deprecated versions of this API, refer to :
  • version 1


DELETE /api/space/configuration-management/cli-configlets/{id} (v2)


This API is used to delete the CLI configlet.

Access Control

The following capabilities are required to access this API:
"DeleteCliTemplateCap"


Example Usage

DELETE /api/space/configuration-management/cli-configlets/{id}


Parameters

NameTypeURI TypeDescriptionRequired
idIntegerPathThe ID of the CLI configlet to delete Y