Create a system wide script token.
POST /v1/system/token_roles
Creates a specified system wide script token and returns a Response object.
HTTP Code
Description
Schema
default
successful operation
No Content
Get system token's roles info for a given script name.
GET /v1/system/token_roles/{scriptName }
Returns a TokenRolesBean object containing info about a specified script token.
Type
Name
Description
Required
Schema
Default
PathParameter
scriptName
true
string
HTTP Code
Description
Schema
200
successful operation
TokenRolesBean
Update a system wide token's roles.
PUT /v1/system/token_roles/{scriptName }
Updates a specified token's roles given a script name and TokenRolesBean object.
Type
Name
Description
Required
Schema
Default
PathParameter
scriptName
true
string
HTTP Code
Description
Schema
default
successful operation
No Content
Delete a system wide script token.
DELETE /v1/system/token_roles/{scriptName }
Deletes a system wide script token by specified script name.
Type
Name
Description
Required
Schema
Default
PathParameter
scriptName
true
string
HTTP Code
Description
Schema
default
successful operation
No Content
Get an environment token's roles info for a given environment name and script name.
GET /v1/envs/{envName }/token_roles/{scriptName }
Returns a TokenRolesBean object containing info about a specified script token.
Type
Name
Description
Required
Schema
Default
PathParameter
envName
true
string
PathParameter
scriptName
true
string
HTTP Code
Description
Schema
200
successful operation
TokenRolesBean
Update a specified environment's script token.
PUT /v1/envs/{envName }/token_roles/{scriptName }
Update a specific environment script token specified by environment and script names.
Type
Name
Description
Required
Schema
Default
PathParameter
envName
true
string
PathParameter
scriptName
true
string
HTTP Code
Description
Schema
default
successful operation
No Content
Delete an environment script token.
DELETE /v1/envs/{envName }/token_roles/{scriptName }
Deletes a environment name and script name specified script token.
Type
Name
Description
Required
Schema
Default
PathParameter
envName
true
string
PathParameter
scriptName
true
string
HTTP Code
Description
Schema
default
successful operation
No Content
Get environment token's roles info for a given environment name.
GET /v1/envs/{envName }/token_roles
Returns a list of the specified environment's TokenRolesBean objects.
Type
Name
Description
Required
Schema
Default
PathParameter
envName
true
string
HTTP Code
Description
Schema
200
successful operation
TokenRolesBean array
Create an environment script token.
POST /v1/envs/{envName }/token_roles
Creates an environment script token with specified environment name and TokenRolesBean object.
Type
Name
Description
Required
Schema
Default
PathParameter
envName
true
string
HTTP Code
Description
Schema
default
successful operation
No Content
Get user role by user and environment name.
GET /v1/envs/{envName }/user_roles/{userName }
Returns a UserRolesBean object containing info for the specified user and environment name.
Type
Name
Description
Required
Schema
Default
PathParameter
envName
true
string
PathParameter
userName
true
string
HTTP Code
Description
Schema
200
successful operation
UserRolesBean
Update a user's role for an environment.
PUT /v1/envs/{envName }/user_roles/{userName }
Updates a UserRolesBean for specified user and environment name.
Type
Name
Description
Required
Schema
Default
PathParameter
envName
true
string
PathParameter
userName
true
string
HTTP Code
Description
Schema
200
successful operation
UserRolesBean
Deletes a user from an environment.
DELETE /v1/envs/{envName }/user_roles/{userName }
Deletes a UserRolesBean by specified user and environment name.
Type
Name
Description
Required
Schema
Default
PathParameter
envName
true
string
PathParameter
userName
true
string
HTTP Code
Description
Schema
default
successful operation
No Content
Get all system level user role objects.
GET /v1/system/user_roles
Returns a list of all system level UserRolesBeans objects.
HTTP Code
Description
Schema
200
successful operation
UserRolesBean array
Create a new system level user.
POST /v1/system/user_roles
Creates a system level user specified by UserRolesBean object.
HTTP Code
Description
Schema
default
successful operation
No Content
Get all user roles for specified environment.
GET /v1/envs/{envName }/user_roles
Returns a list of UserRolesBeans for the specified environment name.
Type
Name
Description
Required
Schema
Default
PathParameter
envName
true
string
HTTP Code
Description
Schema
200
successful operation
UserRolesBean array
Create a user for an environment.
POST /v1/envs/{envName }/user_roles
Creates a new UserRolesBean for a specified environment name.
Type
Name
Description
Required
Schema
Default
PathParameter
envName
true
string
HTTP Code
Description
Schema
default
successful operation
No Content
Get system level user role objects by user name.
GET /v1/system/user_roles/{userName }
Returns a system level UserRolesBean object containing info for the specified user name.
Type
Name
Description
Required
Schema
Default
PathParameter
userName
true
string
HTTP Code
Description
Schema
200
successful operation
UserRolesBean
Update a system level user's role.
PUT /v1/system/user_roles/{userName }
Updates a system level user's role by specified user name.
Type
Name
Description
Required
Schema
Default
PathParameter
userName
true
string
HTTP Code
Description
Schema
200
successful operation
UserRolesBean
Deletes a system level user.
DELETE /v1/system/user_roles/{userName }
Deletes a system level user based on specified user name.
Type
Name
Description
Required
Schema
Default
PathParameter
userName
true
string
HTTP Code
Description
Schema
default
successful operation
No Content
GET /v1/agents/{hostName }
Returns a list of objects with host info for specified host name
Type
Name
Description
Required
Schema
Default
PathParameter
hostName
true
string
HTTP Code
Description
Schema
200
successful operation
AgentBean array