Create Project
Accessible by
- Soulbound administrators
- Organizations
Request
PUT {uri:organization-projects}/{name} HTTP/1.1
Version: 1
Content-Type: "application/vnd.gg.soulbound.organization.projects+json"
Authorization: Bearer <api-key>
{
"name": {new-name}
}
| Name | Type | Description |
|---|---|---|
| api-key | string | The client's API key |
| name | string | A value that uniquely identifies the project |
| new-name | string | An optional value used to rename an existing project |
On creation of a project
HTTP/1.1 201 Created
Location: {uri:project}
| Name | Type | Description |
|---|---|---|
| uri:project | string | The URL of the new project |
On Conflict
HTTP/1.1 409 Conflict
Location: {uri:project}
{cause}
| Name | Type | Description |
|---|---|---|
| uri:project | string | The URL of the conflicting project |
| cause | string | A user-friendly explanation of the conflict |
Permission denied
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer realm="https://api.soulbound.gg/"