Before you start
To manage partners, a user needs the
partners permissions of plugin-identity: get to read partners and scope catalogs, post to create a partner, patch to change one and delete to delete one. Managing its applications needs the applications permissions get, post and delete. The plugin-identity-editor-role role holds all of them.
The operations
To learn which dimensions a product accepts in
scope, read its scope catalog. Each dimension has a name, and the flags required, multi, and explicit.
The partner fields
The response also carries
id, applicationsCount, createdAt, and updatedAt.
Rules that apply to the fields:
productis the product slug that the product’s scope catalog carries, such asplugin-br-pix-jd.- Write
actionsas lowercase HTTP verbs:get,post,put,patch,delete. resources×actionsis a full cross product. To give different actions on different resources, send more than one entry for the same product.- Access Manager refuses the wildcard
*inresources,actions, andvalues. List the items. - A product in
scopemust also be inpermissions. - A product whose scope catalog declares dimensions needs at least one scope entry on every partner with permissions on that product. Without one, Access Manager refuses to create or change the partner, with
IDE-1060. A partner stored without one before this rule is refused with403on every request to that product, until you add a scope entry. - A dimension that the catalog marks as
requiredneeds a scope entry on every partner with permissions on that product, or Access Manager refuses withIDE-0001. A dimension withoutmultitakes one value only, or Access Manager refuses withIDE-0002. - For a dimension that the catalog marks as
explicit, a permission on that dimension’s collection needs a scope entry that lists its IDs. Without one, Access Manager refuses withIDE-1052. The partner reaches only the IDs you list. - Access Manager does not check that the
valuesexist in the product. Use the identifiers that the product’s own API returns. stateisactiveorsuspended, neverexpired. AftervalidUntil, a read still returns the stored state.- After the partner’s
validUntildate, Access Manager refuses its requests, also with a token it already holds, and refuses new tokens.
The IP allowlist field
ipAllowlist has three meanings on PATCH:
On
POST, omit the field or send null to use your tenant’s list.
When a partner has its own IP list, that list replaces the tenant’s IP list for the partner’s requests.
validFrom and validUntil work in a similar way on PATCH. Omit a bound to keep it, send an instant to set it, or send null to remove it.
Examples
Replace the placeholders with your Identity API base URL, your bearer token, and identifiers from your own deployment.
Create the partner’s applications
A partner calls a product with an application that belongs to it. After you create the partner:
- Create an application with Create an Application. Send the partner’s
idinpartnerId, and the product slug intarget, such asplugin-br-pix-jd. - The Identity API returns the client secret only in the response that creates the application. Store it then. If you lose the secret, delete the application and create a new one.
- Send the client ID and the secret to the partner through a secure channel.
- Repeat steps 1 to 3 for each product the partner calls. Create one application per product.
id in the partnerId query parameter of List Applications. If partnerId does not name a partner of your tenant, both operations return 404 with IDE-1046.
Change, suspend, or delete a partner
- On
PATCH, send only the fields you change. Apermissionsor ascopelist replaces the stored list as a whole. Read the partner first, then send the complete new list. - To suspend a partner, send
"state": "suspended". To reactivate it, send"state": "active". - Suspending a partner in Access Manager stops its access, including the tokens it already holds. Reactivating the partner inside its validity window restores access with the same credentials.
- When a change applies says when the partner sees a change of permissions or scope.
- You cannot delete a partner that still has applications. The response is
409withIDE-1049, and itserrorslist names each blocking application with its client ID. Delete those applications first. - Deleting an application stops its tokens from working.
Error codes
Errors in the partner operations:
For every other code, see the Access Manager error list.

