Skip to content

Update a Group position

Request

Updates position of existing group.
Request valid only in scope of Primary or Standalone Hub and can't be used in scope of a Connected Hub.

Security
ApiKeyAuth
Path
subdomainstringrequired

Unique subdomain of requested Hub.

group_idinteger, >= 1required

id of the group

Query
api_versionstring

Api version

Value:"V3-R1"
Bodyapplication/json
reference_idintegerrequired

The ID of another group which position will be used as a reference to new position of reordered group.

positionstringrequired

Specifies if reordered group should be put before or after reference group specified by ID in reference_id parameter.

Enum:"before""after"
curl -i -X PUT \
  'https://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/groups/{group_id}/reorder?api_version=V3-R1' \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "reference_id": 0,
    "position": "before"
  }'

Responses

OK

Bodyapplication/json
messagestring
Response
{ "message": "string" }