API for Administration

API for Administration

POST /rest/admin/user/withrole

Request

Content-Type: application/json

Parameters

Name

Located in

Required

Description

Default

Schema

Name

Located in

Required

Description

Default

Schema

body

body

no



-

string

user

body

yes

Object of user to be created

-

User

maprole

body

yes

Object of maprole having details of project roles to be assigned while creating user

-

MapRole

Response

Content-Type: application/json

Status Code

Reason

Response Model

Status Code

Reason

Response Model

200

User created successfully

ResponseEntity

400

Invalid json object or mandatory fields missing

-

401

Unauthorised or session expired

-

500

Returned when server connection times out

-

PUT /rest/admin/user/update/withrole

Request

Content-Type: application/json

Parameters

Name

Located in

Required

Description

Default

Schema

Name

Located in

Required

Description

Default

Schema

body

body

no



-

string

user

body

yes

Object of user to be updated

-

UpdateUser

maprole

body

yes

Object of maprole having details of project roles to be assigned while updating user

-

MapRole

Response

Content-Type: application/json

Status Code

Reason

Response Model

Status Code

Reason

Response Model

200

User created successfully

ResponseEntity

400

Invalid json object or mandatory fields missing

-

401

Unauthorised or session expired

-

500

Returned when server connection times out

-

POST /rest/admin/user/generateAutomationAPIKey

Request

Content-Type: application/json

Parameters

Name

Located in

Required

Description

Default

Schema

Name

Located in

Required

Description

Default

Schema

Content-Type

header

yes

application/json

-

string

apikey

header

yes

Open API key

-

string

scope

header

yes

default

-

string

Response

Content-Type: application/json

Status Code

Reason

Response Model

Status Code

Reason

Response Model

200

Successful operation.

ResponseEntity

500

Returned if there is an error in server

-

POST /rest/admin/user/list

Request

Content-Type: application/json

Parameters

Name

Located in

Required

Description

Default

Schema

Name

Located in

Required

Description

Default

Schema

start

body

no

provide start

-

integer

limit

body

no

provide limit

-

integer

page

body

no

provide page

-

integer