Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


REST API: The group name can not be empty

Good Day!

I'm using Jira Server(v8.5.2) and I'm having an issue removing a user from a group via a Rest call.
I'm referencing the docs here

Here is my call.

curl -D- -u "user:pass" -X DELETE -H "Content-Type: application/json" -d "{""groupname"": ""cmteam"",""username"": ""mkimball""}" ""

Here is my response.

HTTP/1.1 400
X-AREQUESTID: 736x5839x1
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self'
X-ASEN: SEN-3227898
Set-Cookie: JSESSIONID=44D609176B08968E51ED9105B4; Path=/; Secure; HttpOnly
X-Seraph-LoginReason: OK
Set-Cookie: atlassian.xsrf.token=B5P1-XI0T-LAL0-AMZA_20a1cac882ea74e58ee4a82993c93_lin; Path=/; Secure
Cache-Control: no-cache, no-store, no-transform
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Date: Fri, 05 Nov 2021 17:16:03 GMT
Connection: close

{"errorMessages":["The group name can not be empty"],"errors":{}}

Why would I be getting this error when I'm supplying a group name? Is there something wrong with the way I am supplying json data? Any advice or suggestions would be greatly appreciated!

Thank you. 

1 answer

1 accepted

0 votes
Answer accepted
Support Team [Clearvision]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 08, 2021

Hi Matt

This endpoint requires the groupname and username as query parameters e.g.

 In your example you could do

curl -X "DELETE" -u username:password ""

Worth testing this in a test environment first

Thank you for the support! This was the issue exactly.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events