MENU
    Remove users - assessment Sharing
    • 01 Jul 2021
    • 1 Minute to read
    • Contributors

    Remove users - assessment Sharing


    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
    Curl

    Sample Request

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

    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
    }
    JSON

    Response codes

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


    Was this article helpful?