Inheritance: IUrl, IKeyed
		public bool EditCollaborator(string applicationId, Collaborator collaborator)
		{
			CheckArgumentNull("applicationId", applicationId);
			CheckArgumentNull("collaborator", collaborator);
			CheckArgumentNull("collaborator.Role", collaborator.Role);

			if (collaborator.Role == CollaboratorType.None)
			{
				throw new ArgumentException("collaborator.Role has to be set.");
			}

			var request = new RestRequest(Method.PUT);
			request.RequestFormat = DataFormat.Json;
			request.Resource = "applications/{applicationId}/collaborators/{id}";
			request.AddParameter("applicationId", applicationId, ParameterType.UrlSegment);
			request.AddParameter("id", collaborator.Id, ParameterType.UrlSegment);
			request.AddBody(new
			{
				role = GetCollaboratorType(collaborator.Role),
			});
			return ExecuteEdit(request);
		}