Application & Process Automation V2
SetProjectOwner
Set the owner of a project.
Request
POST Programs/{ProgramId}/Projects/{ProjectId}/Owner
Path Parameters
Name | Value | Description |
---|---|---|
ProgramId |
string |
Unique identifier for the program. |
ProjectId |
string |
Unique identifier for the project. |
Request Body
{
"OwnerEmail": string
}
{
"OwnerEmail": "exampleuser@cleanpower.com"
}
<xs:schema xmlns:xs="http://www.w4.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified">
<xs:element name="SetProjectOwnerRequest">
<xs:complexType>
<xs:sequence>
<xs:element name="OwnerEmail" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<SetProjectOwnerRequest>
<OwnerEmail>exampleuser@cleanpower.com</OwnerEmail>
</SetProjectOwnerRequest>
Request Parameters
Name | Value | Description |
---|---|---|
OwnerEmail |
string |
Email of the user to assign ownership of the project to. |
Response
Response Body
{
"Owner": {
"Name": string,
"Email": string
}
}
{
"Owner": {
"Name": "example user",
"Email": "exampleuser@cleanpower.com"
}
}
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified">
<xs:element name="SetProjectOwnerResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="Owner">
<xs:complexType>
<xs:attribute type="xs:string" name="Email"/>
<xs:attribute type="xs:string" name="Name"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<?xml version="1.0" encoding="utf-8"?>
<SetProjectOwnerResponse>
<Owner Name="example user" Email="exampleuser@cleanpower.com" />
</SetProjectOwnerResponse>
Response Parameters
Name | Value | Description |
---|---|---|
Owner.Name |
string |
Name associated with the account of the updated project owner. |
Owner.Email |
string |
Email associated with the account of the updated project owner. |