Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. IDMC REST API
  3. REST API resource quick references
  4. Platform REST API version 2 resources
  5. Platform REST API version 3 resources
  6. Data Integration REST API
  7. Cloud Data Integration for PowerCenter (CDI-PC) REST API
  8. Data Ingestion and Replication REST API
  9. RunAJob utility
  10. ParamSetCli utility
  11. REST API codes

REST API Reference

REST API Reference

Updating a sub-organization's licenses

Updating a sub-organization's licenses

Use a PUT request to update a sub-organization's license information.

PUT request

In order to update licenses for a sub-organization, you must log in to the parent organization as an administrator.
This request overwrites the sub-organization's licenses with the licenses in the request. To make changes to a sub-organization's licenses, first request license information for the sub-organization, make your modifications in the object, and then use it as the request body.
To update license information for a sub-organization, use the following URI:
/public/core/v3/license/org/<orgId>

PUT response

Returns a success code if successful or an error object if errors occur.

PUT example

To change a sub-organization's licenses, you might use the following request:
PUT <baseApiUrl>/public/core/v3/license/org/<orgId> Content-Type: application/json Accept:application/json INFA-SESSION-ID: <sessionId> { "customLicenses": [ { "licenseType": "SUBSCRIPTION", "expirationDate": "2017-11-05T18:01:24Z", "licenseDef": "a5Xjp3VF3sjcyZUDa6UaWh" } ], "assignedEditions": [ { "expirationDate": "2017-11-05T18:01:24Z", "edition": "4sdvnCrYEjfcKjTvAoigEF" }, { "expirationDate": "2018-10-06T18:00:08Z", "edition": "5SPzPwEFvBEds8LzVwXX4K" } ], "customLimits": [ { "value": -1, "limitDefinition": "09cX4Tmi1qSfrS997ORMYl" } ] }

0 COMMENTS

We’d like to hear from you!