Find a Consumer and Update Its Metadata
A 3-step recipe with Zuplo. We can help you get access.
Recipe · 3 steps
Find a Consumer and Update Its Metadata
with Zuplo · Developer Identity & Credential Management
Locate a consumer by name and update its metadata.
- List the consumers in the bucket to confirm the target exists.
- Patch the consumer's description, tags, and metadata. Only the supplied fields are changed.
- Read the consumer back to confirm the metadata was written.
What you'll need to have ready
- accountName: The Zuplo account name (Settings > Project Information).
- apiKey: The Zuplo Developer API key, sent as a Bearer token.
- bucketName: The name of the bucket whose consumers are listed.
- consumerName: The name of the consumer to update.
- description: An optional new description for the consumer.
- metadata: Key/value string metadata to associate with the consumer.
For your developer
Arazzo workflow zuplo:find-consumer-update-metadata, 3 operations: ApiKeyConsumersService_list → ApiKeyConsumersService_update → ApiKeyConsumersService_read. Specs on APIs.io.