/scim/Groups/<Team_ID>
Allows you to get team information, update a team, or delete a team.
Prerequisite - x-csrf-token
You must get a x-csrf-token and include it in the header of every POST, PUT, PATCH or DELETE request.
For more information, see Valid CSRF Token.
GET /api/v1/scim/Groups/<Team_ID>
Gets information about the team specified by <Team_ID>.
-
HTTP Headers:
-
Authorization: Bearer <access_token>
-
x-sap-sac-custom-auth: true
-
Optional: x-csrf-token: <fetch>
-
-
Parameters: id: <Team_ID>
-
Request Body: None
|
Response |
Example Response |
|---|---|
Format: application/scim+json (Group Schema) |
{
"id": "TestTeam",
"displayName": "Test Team",
"meta": {
"location": "/api/v1/scim/Groups/TestTeam ",
"resourceType": "Group"
},
"members": [
{
"type": "User",
"value": " TESTUSER ",
"$ref": "/api/v1/scim/Users/TESTUSER "
}
],
"roles": [
"PROFILE:sap.epm:Admin",
"PROFILE:sap.epm:Viewer"
]
"urn:ietf:params:scim:schemas:extension:sap:group-custom-parameters:1.0": {
"admins": [
"User1"
],
"moderators": [
"User1",
"User2"
]
}
}
|
PUT /api/v1/scim/Groups/<Team_ID>
Updates the team specified by <Team_ID>.
-
HTTP Headers:
-
Authorization: Bearer <access_token>
-
x-csrf-token: <csrf_token>
-
x-sap-sac-custom-auth: true
-
-
Parameters: id: <Team_ID>
-
Request Body: Group schema containing the information to update
For information on role assignment, see Assigning Roles to Users and Groups. For information on optional parameters see Optional User Parameters.
|
Response |
Example Response |
|---|---|
Format: application/scim+json (Group Schema) |
See GET for an example response. The response should include updated team information. |
DELETE /api/v1/scim/Groups/<Team_ID>
Deletes the team specified by <Team_ID>.
-
HTTP Headers:
-
Authorization: Bearer <access_token>
-
x-csrf-token: <csrf_token>
-
x-sap-sac-custom-auth: true
-
-
Parameters: id: <Team_ID>
-
Request Body: None
|
Response |
|---|
|