curl --request PATCH \
--url https://api.icepanel.io/v1/user \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"c4ModelExperience": "<string>",
"defaultOrganizationId": "<string>",
"defaultOrganizationLandscapeIds": {},
"email": "jsmith@example.com",
"jobRole": "<string>",
"name": "<string>",
"referredBy": "<string>",
"referredByOrganizationId": "<string>",
"referredByUserId": "<string>",
"theme": "light"
}'
{
"user": {
"c4ModelExperience": "<string>",
"defaultOrganizationId": "<string>",
"defaultOrganizationLandscapeIds": {},
"email": "jsmith@example.com",
"jobRole": "<string>",
"name": "<string>",
"referredBy": "<string>",
"referredByOrganizationId": "<string>",
"referredByUserId": "<string>",
"theme": "light",
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"lastActiveAt": "2023-11-07T05:31:56Z",
"notifications": {
"catalogTechnology": true,
"comments": true,
"exports": true,
"invites": true,
"onboarding": true
}
}
}
curl --request PATCH \
--url https://api.icepanel.io/v1/user \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"c4ModelExperience": "<string>",
"defaultOrganizationId": "<string>",
"defaultOrganizationLandscapeIds": {},
"email": "jsmith@example.com",
"jobRole": "<string>",
"name": "<string>",
"referredBy": "<string>",
"referredByOrganizationId": "<string>",
"referredByUserId": "<string>",
"theme": "light"
}'
{
"user": {
"c4ModelExperience": "<string>",
"defaultOrganizationId": "<string>",
"defaultOrganizationLandscapeIds": {},
"email": "jsmith@example.com",
"jobRole": "<string>",
"name": "<string>",
"referredBy": "<string>",
"referredByOrganizationId": "<string>",
"referredByUserId": "<string>",
"theme": "light",
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"lastActiveAt": "2023-11-07T05:31:56Z",
"notifications": {
"catalogTechnology": true,
"comments": true,
"exports": true,
"invites": true,
"onboarding": true
}
}
}
OK
The response is of type object
.