Read and Review Automation Anywhere Documentation

Automation 360

Close Contents

Contents

Open Contents

Add queue owner or member API

  • Updated: 9/09/2020
    • Automation 360 v.x
    • Explore
    • RPA Workspace
    • API docs

Add queue owner or member API

Add queue owners who can create, edit, and view queues. The queue creator is the default queue owner and can add other Control Room users as queue owners if required.

Prerequisites

You must have the following:

  • Create queues or AAE_Queue Admin permission
  • The endpoint URLs:
    • <your_control_room_url>/v3/wlm/queues/{queueId}/members/{userId}
    • <your_control_room_url>/v1/usermanagement/users/list
    • <your_control_room_url>/v3/wlm/queues/list

Procedure

  1. Use the PUT method and endpoint URL: <your_control_room_url>/v3/wlm/queues/{queueId}/members/{userId}.
    Enter the queueId to which you want to add the owner and the userId that will be the owner of the queue. This queueId is the same ID that was returned when you created the queue.
    Note:
    • If you want to search or get a list of all the available queueId, use the endpoint URL <your_control_room_url>/v3/wlm/queues/list.

      List WLM queues

    • If you want to search or get a list of all the userId, use the endpoint URL: <your_control_room_url>/v1/usermanagement/users/list.

      Search for users API

    For example, use queueId as 17 and userId as 1.
    PUT https://192.0.2.0/v3/wlm/queues/17/members/1

    Add one or more permissions in the request body to allow the user to perform the specific queue actions. In this example, manage and own permissions are added.

    Request body:
    {
      "permissions": [
        "manage",
        "own"
      ]
    }
  2. Send the request.
    When the request is successful, the required user is added as a queue owner.
    In this example, the user with userId as 1 is added as a queue owner.
    Response body:
    {
      "id": 1,
      "permissions": [
        "own",
        "manage"
      ]
    }
    The REST API responds to each request with an HTTP response code. For details about the response codes, see API response codes.

Next steps

Add queue participants

Send Feedback