# Action Templates

## List all the action templates in a hub

 - [GET /gateway/chaos/manager/api/rest/templates/actions](https://apidocs.harness.io/action-templates/listactiontemplate.md): List all the action templates in a hub based on tag

## Create the action templates in a hub

 - [POST /gateway/chaos/manager/api/rest/templates/actions](https://apidocs.harness.io/action-templates/createactiontemplate.md): Create action templates in a hub based on tag

## Get the action template in a hub

 - [GET /gateway/chaos/manager/api/rest/templates/actions/{identity}](https://apidocs.harness.io/action-templates/getactiontemplate.md): Get the action template in a hub based on action ref

## Update the action templates in a hub

 - [PUT /gateway/chaos/manager/api/rest/templates/actions/{identity}](https://apidocs.harness.io/action-templates/updateactiontemplate.md): Update an existing action template in a hub with new configuration

## Delete action template

 - [DELETE /gateway/chaos/manager/api/rest/templates/actions/{identity}](https://apidocs.harness.io/action-templates/deleteactiontemplate.md)

## Get the difference between 2 revisions of action template

 - [GET /gateway/chaos/manager/api/rest/templates/actions/{identity}/compare](https://apidocs.harness.io/action-templates/getactiontemplaterevisiondifference.md): Get the difference between 2 revisions of action template in a hub

## List all the revision of an action template in a hub

 - [GET /gateway/chaos/manager/api/rest/templates/actions/{identity}/revisions](https://apidocs.harness.io/action-templates/listactiontemplaterevisions.md): List all the revision of a fault template in a hub

## Get the list of inputs in an action template

 - [GET /gateway/chaos/manager/api/rest/templates/actions/{identity}/variables](https://apidocs.harness.io/action-templates/listvariablesinactiontemplate.md): Get the list of inputs in a fault template based on revision

