# Create sub profile **POST /profile** Create a sub profile that belongs to the authenticated users root profile Profiles work like this: Every user on universecloud has a root profile. There can me multiple sub profiles that belong to this root profile. They will be created via an oauth app with a specific clientId. (Registration/Login on your own platform) A Profile holds some data about the root or sub profile with some authentication details like groups, plans or metadata ## Servers - universecloud API v1: https://api.universecloud.io (universecloud API v1) ## Authentication methods - Api key auth - Bearer auth ## Parameters ### Body: application/json (object) - **accountId** (string) auth0 profile id for the profile - **clientId** (string) auth0 client id for the profile - **email** (string) email of the profile - **groups** (array[string]) any initial groups the sub profile should be part of - **userMetadata** (object) initial metadata that will be stored inside profile.settings.userMetadata (useful for custom registration with additional fields like first or lastname) ## Responses ### 200 Sucessfully updated profile #### Body: application/json (object) - **id** (string) id of the profile - **subject** (string) subject of the root profile - **accountId** (string) subject of a sub profile belonging to a root profile - **clientId** (string) if of the oauth client used for this profile - **branch** (string) context branch of the profile (empty for standard) - **plans** (array[object]) - **avatar** (string) url of the avatar for the profile - **email** (string) root email of the profile. cannot be updated - **settings** (object) settings for the profile. Can be used to store any values. Can be updated by root profile or sub profile - **metadata** (object) settings for the profile. Can only be updated by root profile - **groups** (array[string]) an array of groups the profile belongs to. Can only be updated by root profile - **createdAt** (string) date in rfc3339 / ISO 8601 format when the profile was created - **updatedAt** (string) date in rfc3339 / ISO 8601 format when the profile was updated [Powered by Bump.sh](https://bump.sh)