Create persona
Create a new persona in Atlan.
Note that while it is technically possible to define policies at the same time as creating the persona itself, this does run the risk of timeouts for the creation API call. Therefore it is recommended to create and update policies in subsequent requests, not the initial persona creation request.
Body Required
Persona to create.
-
id string | null
Unique identifier of the persona.
-
name string Required
Unique system name for the persona. This will generally be the same as the
displayName
, but must be unique. -
displayName string | null Required
Human-readable name of the persona. This is what is shown on the UI, and while not strictly required for creation if it is missing then no name will be displayed for the persona in the UI.
-
description string | null
Meaningful explanation for what the persona represents or how it is used.
-
metadataPolicies array[object] | null
Instance of a metadata policy for a persona in Atlan, with its detailed response-specific information.
-
dataPolicies array[object] | null
Instance of a data policy for a persona in Atlan, with its detailed response-specific information.
-
glossaryPolicies array[object] | null
Instance of a glossary policy for a persona in Atlan, with its detailed response-specific information.
-
users array[string] | null Required
List of unique identifiers (GUIDs) of users within the persona.
-
groups array[string] | null Required
List of unique identifiers (GUIDs) of groups within the persona.
-
readme string | null
URL-encoded HTML representing the richly-formatted readme for the persona.
curl \
-X POST https://tenant.atlan.com/api/service/personas \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"Data Engineers","displayName":"Data Engineers","users":[],"groups":[]}'
{
"name": "Data Engineers",
"displayName": "Data Engineers",
"users": [],
"groups": []
}
{
"id": "9bee3ff8-9bf4-436f-927b-3e415fd3afe9",
"name": "Data Engineers",
"displayName": "Data Engineers",
"createdAt": 1655205634935,
"createdBy": "service-account-apikey-e8d1f0bd-600e-4a8a-9248-b7c9aa1ef8c3",
"updatedAt": null,
"updatedBy": "",
"type": "persona",
"level": "workspace",
"description": "",
"metadataPolicies": [],
"dataPolicies": [],
"glossaryPolicies": [],
"users": [],
"groups": [],
"version": "morning-boat-1740",
"enabled": true,
"readme": "",
"resources": null,
"attributes": null
}