PUT /bsus/api/v1/access-rights/{group_name} - Adaptive Applications - BlueCat Gateway - 23.1

BlueCat Server Update Services Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
23.1

Description

Update the access rights to Server Batches for a specific BSUS user group.

Parameters

Name Description
payload

(body)

Location: body

Type: application/json

{
  "batches": [
    {
      "id": "string"
    }
  ]
}

Where each parameter is as follows.

  • batches—an array of Server Batch entries that the specified BSUS user group should have access to.
  • id—the ID of a Server Batch that the BSUS user group should have access to.
Note: This list will completely replace the existing list of assigned Server Batches. If the BSUS user group currently has access to a Server Batch that does not appear in this list, access to that Server Batch will be lost when the endpoint is called.
group_name Location: Path

Type: String

The name of the user group whose Server Batch access rights you want to update.

Responses

Status Description
Successful

Code: 200

Body:
{

"data": "Updated access rights of user group {group_name} successfully"

}
Error

Code: 400

Body:
{
  "error": "<details>"
}

If available, additional details are passed in the return parameter error.

Code: 404

Body:
{
  "error": "<error message>"
}

If available, additional details are passed in the return parameter error.