ZiamCreateResource
Creates a ZIAM resource. For users, phoneNumber/mobile are accepted aliases for phone, phone must be E.164, and groupUuids, projectUuids, organizationUuids, or departmentUuids may be included to create initial relationships after the user is created. These relationship fields must always be arrays; submit a one-element array for a single selected item.
/api/v1/ziam/resources/{collection}Operation ID
ZiamCreateResourceSince
1.0.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonPath Parameters
collectionStringRequiredResource collection name, such as users, organizations, groups, roles, applications, providers, certs, tokens, tenants, projects, project-memberships, or role-bindings.
Body Fields
Resource payload. Fields depend on the selected collection. User payloads accept name/userName, displayName, password, confirmPassword, email, phone, phoneNumber or mobile. ZIAM stores user profile data in ZIAM Store; password is converted into an internal one-way credential and is never returned. phoneNumber and mobile are normalized to phone and phone must use E.164 format. When creating a user, groupUuids, projectUuids, organizationUuids, departmentUuids, roleKeys, roleUuids, or roles may be supplied as arrays; ZIAM validates those resources first, creates the user, then creates the relationships with joinedAt metadata. Single selections must still use a one-element array. roles accepts role keys, role UUIDs, or objects containing key/roleKey/uuid/roleUuid. project-admin is a valid global User RoleBinding role; project-owner is Project-scoped and must use the target ProjectMembership roleKeys. Project membership payloads require subjectType User or Group and subjectUuid; userUuid or groupUuid is normalized to the same principal, and conflicting principal fields or virtualIDUuid are rejected. Group and organization member entries may use uuid, value, subjectUuid, or userUuid, but every non-empty alias must resolve to the same canonical user UUID. ZIAM-owned organizations use ZIAMOrganizationResource, groups use ZIAMGroupResource, projects use ZIAMProjectResource, roles use ZIAMRoleResource, and role bindings use ZIAMRoleBindingResource.
uuidStringStable resource uuid. Generated when omitted for create.
Example: 11111111111111111111111111111111
nameStringCanonical resource name or user login name.
Example: alice
userNameStringAlias accepted for user login name. Normalized to name/userName for users.
Example: alice
displayNameStringDisplay name.
Example: Alice
descriptionStringBrief resource description shown on resource detail pages.
Example: A brief description
