Create membership - leerbedrijflisa/breakpoint-api GitHub Wiki
POST /memberships/
Request
Data fields
Field |
Description |
Required |
DataType |
userName |
Name of the user that is assigned to the project. |
Required |
String |
project |
The name of the project that the user is assigned to. |
Required |
String |
role |
Role of the user assigned to the project. |
Required |
String |
Example
Content-Type: application/json
{
"userName": "User",
"project": "Breakpoint_Api",
"role": "developer"
}
Response
Data fields
Field |
Description |
DataType |
id |
A unique identifier for a particular membership. |
Guid |
Example
HTTP/1.1 201 Created
Content-Type: application/json
{
"id": "255ca154-9afe-4ed2-9729-d3db0cea4373",
"userName": "User",
"project": "Breakpoint_Api",
"role": "developer"
}