IBM Cloudability

IBM Cloudability

 View Only

Users Endpoint Launch on v3 API 

Thu October 27, 2022 05:59 PM

With this update the Cloudability Users end point is available on the v3 API. This is the final endpoint being launched on Cloudability’s latest-gen public API this month.

This API endpoint enables admins to perform programmatic reading and updating of their organization’s users.  

The key differences between v1 Users API and v3 Users API are as follows:

  • Narrowed the scope of what attributes can be updated to full name, default and shared
  • The roles and permissions attributes have been removed as they are now managed through Frontdoor.
  • Simplified the JSON payload when updating a user’s details.

All the fields other than those mentioned above, must be updated in Frontdoor. While a user’s name can be customized within Cloudability, note that changes made to a name in the v3 Users API will not be reflected in Frontdoor.

Example request

A list of your organization’s users can be retrieved by running a GET request at https://api.cloudability.com/v3/users/

To retrieve an individual users simply run a HTTP GET request at https://api.cloudability.com/v3/users/:id


General considerations when moving from v1 to v3 API end points

Individual API documents have been added to the v3 user documentation for each endpoint. Changes at the endpoint interface level between v1 and v3 are reflected within the endpoint documentation.

Some general differences between the v1 and v3 APIs:

For more help on migrating to the v3 endpoints checkout this video guide on the Apptio Community.

The complete set of Cloudability v3 API end points are now available.




#API
#Cloudability

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Comments

Wed February 15, 2023 02:59 PM

I found that in order to modify the list of

"new_shared_dimension_filter_set_ids"
 

we need to add the following to the request:
 "unshare_existing_dimension_filter_sets": true


#Cloudability

Mon January 30, 2023 07:27 PM

The duplicate resource error and the documentation for the example request have both been fixed @Simon Lee. We'll also be adding some additional content to the user API doc shortly that will help customers understand this endpoint.​​
#Cloudability

Tue January 17, 2023 01:18 AM

Apologies for the delayed response to your comments @Simon Lee, I appreciate the feedback.  You are correct, the attribute should be "new_shared_dimension_filter_set_ids". However, i am unsure of the cause of the duplicate resource error. I will get this addressed and let you know.

#Cloudability

Mon December 12, 2022 09:25 AM

In version 1 of the API, it was possible to include views which already exist for the target user.  
In version 3 of the API, the 'duplicate' will kick up an error.  You need to remove the 'duplicate' from your payload.
#Cloudability

Mon December 12, 2022 09:22 AM

The sample query in the help documentation for PUT is incorrect, it says,
“shared_dimension_filter_set_ids”: [12, 999]​
but it needs to be,
“new_shared_dimension_filter_set_ids”: [12, 999]​

#Cloudability