/api/space/configuration-management/cli-configlets/{id}
The following operations are supported on this resource:
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
Name | Type | URI Type | Description | Required |
id | int | Path | The ID of the CLI configlet to be retrieved. | Y |
Content Types
-
Produces content types:
application/vnd.net.juniper.space.configuration-management.view-cli-configlet+xml;version=2;charset=UTF-8
application/vnd.net.juniper.space.configuration-management.view-cli-configlet+json;version=2;charset=UTF-8
For other non-deprecated versions of this API, refer to :
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
Name | Type | URI Type | Description | Required |
id | Integer | Path | The ID of the CLI configlet to update | Y |
Content Types
-
Consumes content types:
application/vnd.net.juniper.space.configuration-management.cli-configlet+xml;version=2;charset=UTF-8
application/vnd.net.juniper.space.configuration-management.cli-configlet+json;version=2;charset=UTF-8 -
Produces content types:
application/vnd.net.juniper.space.configuration-management.view-cli-configlet+xml;version=2;charset=UTF-8
application/vnd.net.juniper.space.configuration-management.view-cli-configlet+json;version=2;charset=UTF-8
For other non-deprecated versions of this API, refer to :
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
Name | Type | URI Type | Description | Required |
id | Integer | Path | The ID of the CLI configlet to delete | Y |