Manage stewardship of an entity
Assign, transfer, or clear the stewardship of a single entity.
Stewardship is a configurable trait, so this endpoint accepts any entity type that carries it: catalog items, terms, sources, and custom entity types alike.
Managing stewardship performs sharing, the same way as transferring stewardship in the web application:
- The entity is shared with the new stewardship group.
- The previous stewardship group keeps access only at the access level given in previousStewardAccessLevel.
- Stewardship overrides are removed where needed.
The change is always published: it cannot be applied to a draft.
The response returns the stewardship of the entity after the change was applied. When the assigned stewardship was cleared, effectiveStewardship contains the stewardship inherited from an ancestor, or null when no ancestor assigns one.
A request without groupUrn applies no change and simply returns the entity's current effective stewardship.
Request
- Base URLhttps://your-environment.ataccama.one/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"entityUrn": "urn:ata:acme-corp:catalog:catalog-item:fde84300-7a83-4d24-8c88-30ada80b0b54",
"groupUrn": "urn:ata:acme-corp:iam:group:b3c4d5e6-f7a8-4b9c-8d0e-1f2a3b4c5d6e",
"previousStewardAccessLevel": "viewMetadata"
}Response
Stewardship change applied.
Example response
{
"entityUrn": "urn:ata:acme-corp:catalog:catalog-item:fde84300-7a83-4d24-8c88-30ada80b0b54",
"effectiveStewardship": {
"groupUrn": "urn:ata:acme-corp:iam:group:b3c4d5e6-f7a8-4b9c-8d0e-1f2a3b4c5d6e",
"originUrn": "urn:ata:acme-corp:catalog:catalog-item:fde84300-7a83-4d24-8c88-30ada80b0b54"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.