Ana içeriğe geç

Consumer Organizations API

Overview​

This API replaces the Credential Organizations API, which is deprecated. It uses the same write logic. Organizations are addressed by code, under /apiops/projects/{projectName}/consumer-organizations, and are not a sub-path of /consumers.

Endpoints​

OperationMethodEndpointDescription
ListGET/consumer-organizationsList the organizations
GetGET/consumer-organizations/{code}Read one organization
CreatePOST/consumer-organizationsCreate an organization
UpdatePUT/consumer-organizations/{code}Update an organization
DeleteDELETE/consumer-organizations/{code}Delete an organization

Permissions​

OperationRequired Permission
List, GetIDENTITY + VIEW
Create, Update, DeleteIDENTITY + MANAGE

A project outside the scope of the caller answers 404 resourceNotFound. The admin project has no consumer organizations: a call on it answers 400 malformedRequest (params.reason = platformScopeNotSupported).