[ABANDONED] Question reposted correctly

Jared Praino September 10, 2019

I have a personal sandbox org and my user has site admin rights.

I am trying to makes calls following the guides here: https://developer.atlassian.com/cloud/admin/user-provisioning/rest/#about

I have access to an admin user account on a sandbox environment.  I am able to successfully authenticate myself, but now need help finding the directory ID in order to make successful calls.

One example endpoint I would like to hit is this:

var options = { method: 'GET', url: 'https://api.atlassian.com/scim/directory/{directoryId}/Users/{userId}?attributes={attributes}', headers: { 'Authorization': 'Bearer ', 'Accept': 'application/json' } };

 

I also looked at the steps described here https://developer.atlassian.com/cloud/admin/user-provisioning/swagger.v3.json

Go to [admin.atlassian.com](https://admin.atlassian.com/) and click your organization.

2. Click **Directory**, then click **User provisioning**.

3. Click the **Directory** tab, then click the **Regenerate API key** button.

4. Click **Regenerate key**.

5. Copy the organization ID and the API key to a safe place. Once you close the API key information screen, we won't show you this information again.

6. Click **Done**."

 

After step 1, when logged into my environment, I am unable to find the "Directory" or "User provisioning" tabs.  Instead I directly land on user management.

1 answer

0 votes
Jared Praino September 11, 2019

I am looking for advice on how to retrieve the directory Id. Thank you.

Suggest an answer

Log in or Sign up to answer