Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Adding Crowd User via API


Hi All!

I am utilizing the CROWD REST API and I am having difficulty with adding a user to a specific Directory.

When I am sending the request with the below filled out. 

"name": "sampleuser",
"password": {
"value": "secret"
"active": true,
"first-name": "Sample",
"last-name": "User",
"display-name": "Sample User",
"email": "",

"directory-name": "sample",

"directory-id": 1

Every time the call is executed the user is being added to the first Directory on page. 

Note: Application has access to add/modify in multiple directories.

Any help would be much appreciated!


1 answer

1 vote


I don’t believe directory-name or directory-id are parameters you can pass through (

Crowd will try and make the user in the first directory that application has access to. The way we work around this is by having an application per directory we want to create users in with a 1:1 relationship, then authenticate with the appropriate application user/pass for the directory you want to create the user in.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Improving the Create Issue Experience in Jira Service Management Cloud

Hello everyone!  We are very excited to announce some much needed changes to the issue create experience in JSM (the blue "create" button) at the top of the screen.  We have just starte...

186 views 7 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you