What are the values to be used for organizationId and userId?

Shekhar Kareppanavar January 18, 2022

Since we are planning to go for Audience-Specific page, I was looking at permissions to be given for users. In the below mentioned API, parameters to be passed are 'organizationId' and 'userId'. Im able to get pageId and API key values, but could not find any information on these two fields. Could you please help regarding this?

https://developer.statuspage.io/#operation/putOrganizationsOrganizationIdPermissionsUserId

https://developer.statuspage.io/#operation/getOrganizationsOrganizationIdPermissionsUserId

 

1 answer

1 vote
Jesse Klein
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 20, 2022

Hello Shekar,

This is Jesse from the Statuspage support team. Welcome to the community and thanks for reaching out about how to find the OrgID and UserID fields for the API.

For the OrgID, you can click your avatar on the bottom left and select either Users or API Info. Then in the URL after organizations, it will show the ID. The format is as follows:

https://manage.statuspage.io/organizations/<OrgID>/team

For the UserID, you can use your OrgID to run the GET a list of users API: https://developer.statuspage.io/#operation/getOrganizationsOrganizationIdUsers

Once you have that, you should have everything that you need for your users.

It's really important to point out, however, that "users" in this context are people that manage your Statuspage and not page access users. Role permissions refers to what pages an admin user has access to manage.

If you want the UserID for your page access users that login and look at the Statuspage, then you will use this: https://developer.statuspage.io/#operation/getPagesPageIdPageAccessUsers

Please note that changing the permissions of a page access user is done through changing their page access group and not their role permissions.

Please let me know if you have any questions on this. I hope you have a great day!

Regards,
Jesse

Shekhar Kareppanavar January 24, 2022

Thanks Jesse for detailed answer, it helps

Jesse Klein
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 24, 2022

You're welcome! I hope you have a great week!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events