curl --request PUT \
--url https://{FUSION HOST}/api/users/{id} \
--header 'Content-Type: application/json' \
--data '{
"password": {
"empty": true
},
"passwordHash": "<string>",
"roleNames": [
"<string>"
],
"timezone": "<string>",
"permissions": [
{
"methods": [
"GET"
],
"path": "<string>",
"params": {}
}
],
"roles": [
"<string>"
]
}'
{
"id": "<string>",
"username": "<string>",
"realmName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"roleNames": [
"<string>"
],
"timezone": "<string>",
"permissions": [
{
"methods": [
"GET"
],
"path": "<string>",
"params": {}
}
]
}
curl --request PUT \
--url https://{FUSION HOST}/api/users/{id} \
--header 'Content-Type: application/json' \
--data '{
"password": {
"empty": true
},
"passwordHash": "<string>",
"roleNames": [
"<string>"
],
"timezone": "<string>",
"permissions": [
{
"methods": [
"GET"
],
"path": "<string>",
"params": {}
}
],
"roles": [
"<string>"
]
}'
{
"id": "<string>",
"username": "<string>",
"realmName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"roleNames": [
"<string>"
],
"timezone": "<string>",
"permissions": [
{
"methods": [
"GET"
],
"path": "<string>",
"params": {}
}
]
}
OK
The response is of type object
.
Was this page helpful?