Remove users - assessment Sharing
  • 01 Jul 2021
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Remove users - assessment Sharing

  • Dark
    Light
  • PDF

Article summary

Add users - Sharing

DELETE /assessment/{externalId}/sharing

NameData TypeDescription
Content-type:application/jsonfor all requests
Authorization:EAPI {token}for all requests

Body Parameters

Parameters indicated with a * are mandatory

Name
Data Type
Description
*[]String)UserName

Sample Request URL

https://api.cirrusplatform.com/api/v1/integrations/assessment/ColExt1/sharing 

Sample Request

["user1", "user2", "user3", "user4"]

Sample Response

{
	"Content": {
		"SuccessfullyRemoved": ["user1", "user4"],
		"Errors": [{
			"UserName": "user2",
			"Error": "Assessment has not been shared with this user"
		},
		{
			"UserName": "user3",
			"Error": "Owner can not be deleted from assessment"
		}]
	},
	"Success": true,
	"Errors": null
}

Response codes

CodeDescription
200Successful operation
403Not allowed to use external API
500Internal server error


Was this article helpful?