GET /salt/api/salt_states
List all Salt states


GET /salt/api/salt_states/:id
Show a state

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.

POST /salt/api/salt_states
Create a state

Params

Param Name Description
state
Required

Value: Must be a Hash
state[name]
Required

Name of the Salt state


Value: Must be String

DELETE /salt/api/salt_states/:id
Destroy a state

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.