Hi folks,
I am facing an issue while using the SCIM3 API in SAP Analytics Cloud to update team members using PATCH operation.
PATCH /api/v1/scim3/Groups/<TEAM_UUID>
Authorization: Bearer <access_token>
x-csrf-token: <csrf_token>
x-sap-sac-custom-auth: true
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:PatchOp"
],
"Operations": [
{
"op":"add",
"path":"members",
"value":[
{
"value":"d0bbac78-776890-9876hjmd",
"type":"User",
"display":"newuser",
"$ref":"/api/v1/scim3/Users/d0bbac78-776890-9876hjmd"
}
]
},
{
"op": "replace",
"path": "urn:ietf:params:scim:schemas:extension:sap:2.0:Group:description",
"value": "patch test"
}
]The PATCH request consistently returns:
{
"status": 403,
"error":"Forbidden"
}
Any guidance would be helpful
Thanks!
Request clarification before answering.
Maybe the below blog helps with the error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi spurwar,
Thanks a lot for this post!
I was facing the same 403 issue, and this blog explanation about CSRF token + session cookies solved it for me. Really helpful!
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.