Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Trying to update user account using PATCH : no changes detected

Mrinalini Pal
Contributor
July 28, 2021

I am trying to update attributes of a user account y using PATCH API for User Provisioning. The API call is :

curl --request PATCH \
--url 'https://api.atlassian.com/scim/directory/{directoryId}/Users/{userId}' \
--header 'Authorization: Bearer <token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"operations": [
{
"op": "remove",
"path": "title",
"value": {
"title" : "<string>"
}
}
]
}'

I have created a user using the POST API for User Provisioning and I am trying to update it using PATCH on the same day. 

Is there an error in the way I am calling the API? Is there any time duration that needs to be between the creation and updation for the PATCH to work properly?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events