/config/user/{name}/priv/{idx}

A privilege the user possesses.

Get /config/user/{name}/priv/{idx}

SecurityApiKey
Request
path Parameters
name
required
string

The name of a user. Must consist of alpha-numeric characters or underscores (_).

idx
required
integer >= 0

The index of a privilege.

Responses
200

Normal response.

401

Unauthorized response.

get/config/user/{name}/priv/{idx}
Request samples
Response samples
application/json
{
  • "result": "string",
  • "error": "Error message (present if an error occurred)."
}

Replace /config/user/{name}/priv/{idx}

SecurityApiKey
Request
path Parameters
name
required
string

The name of a user. Must consist of alpha-numeric characters or underscores (_).

idx
required
integer >= 0

The index of a privilege.

Request Body schema: application/json
string (configUserNamePrivItem)

A privilege the user possesses.

Responses
200

Normal response.

401

Unauthorized response.

put/config/user/{name}/priv/{idx}
Request samples
application/json
"string"
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Update /config/user/{name}/priv/{idx}

SecurityApiKey
Request
path Parameters
name
required
string

The name of a user. Must consist of alpha-numeric characters or underscores (_).

idx
required
integer >= 0

The index of a privilege.

Request Body schema: application/json
string (configUserNamePrivItem)

A privilege the user possesses.

Responses
200

Normal response.

401

Unauthorized response.

post/config/user/{name}/priv/{idx}
Request samples
application/json
"string"
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Delete /config/user/{name}/priv/{idx}

Remove this privilege.

SecurityApiKey
Request
path Parameters
name
required
string

The name of a user. Must consist of alpha-numeric characters or underscores (_).

idx
required
integer >= 0

The index of a privilege.

Responses
200

Normal response.

401

Unauthorized response.

delete/config/user/{name}/priv/{idx}
Request samples
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}