GET /salt/api/salt_environments
List all Salt environments

Params

Param name Description
search
optional

filter results


Value: Must be String
order
optional

sort results


Value: Must be String
page
optional

paginate results


Value: Must be String
per_page
optional

number of entries per request


Value: Must be String

GET /salt/api/salt_environments/:id
Show a Salt environment

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_environments
Create a Salt environment

Params

Param name Description
environment
required

Value: Must be a Hash
environment[name]
required

Value: Must be String

DELETE /salt/api/salt_environments/:id
Destroy a Salt environment

Params

Param name Description
id
required

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