# Update profile **PUT /profile** Update the root profile or a sub 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 ### Query parameters - **clientId** (string) clientId of the sub profile you want to update - **accountId** (string) accountId of the sub profile you want to update ### Body: application/json (object) - **avatar** (string) new url of the avatar for the profile - **settings** (object) settings for the profile. Can be updated by root profile and sub profile - **metadata** (object) metadata for the profile. Can only be updated by root profile ## Responses ### 200 Sucessfully created sub 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)