Error "Access Denied" in call "Update a User" from Users

Hi, I am testing the Users APIs, but in the request call “Update a User” I am receiving the error response “403 Access denied”. I am using the procedure as mentioned in the documentation.
kindly guide me to resolve the error. The curl of the call is:

curl --location --request PUT ‘https://api.pagerduty.com/users/P78BG7M
–header ‘Authorization: Token token***********************’
–header ‘Accept: application/vnd.pagerduty+json;version=2’
–header ‘Content-Type: application/json’
–data-raw ‘{
“user”: {
“name”: “",
“email”: "
",
“time_zone”: "
",
“color”: “purple”,
“avatar_url”: "
*************************”,
“billed”: true,
“role”: “user”,
“description”: “manager”,
“invitation_sent”: false,
“job_title”: “manager”
}
}’

Hello,

An access denied error would indicate a permissions issue.

To help guide you on this, we would need account-sensitive details from you which shouldn’t be shared in this space. Please can you email support@pagerduty.com regarding this.

Regards,

1 Like