Edit a project – Management API – MediaKind

Edit a project

patch https://app.mk.io/api/v1/projects/:project_name

Update project.

RBAC Capability Required: core.project.update

Authentication

Authorization Bearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

project_name string Required

Request

This endpoint expects an object.

metadata object ProjectPatchMetadataSchema Optional

Metadata.

Show 1 property Hide 1 property

New display name of the project.

spec object ProjectPatchSpecSchema Optional

Specification.

Show 2 properties Hide 2 properties

Is project active?

Is project hidden?

Response

200 OK

kind string Optional

The kind of record.

metadata object ProjectMetadataSchema Optional

Metadata.

Show 10 properties Hide 10 properties

Cloud in which the project is hosted.

Show 3 properties Hide 3 properties

The display name of the cloud.

The unique identifier of the cloud.

The unique name of the cloud.

The time when the resource was created

ID of the user who created the resource

Email of the user who created the resource

ID of the user who created the project.

Name of the user who created the project.

The display name of the resource

The ID of the resource

The name of the resource

The time when the resource was last updated

spec object ProjectSpecSchema Required

Specification.

Show 7 properties Hide 7 properties

ID of the payment method assigned to the project.

Display name of the project.

Is project active.

Display name of the location the project is in.

ID of the location the project is in.

Name of the location the project is in.

Name of the project.

Errors

error object ErrorDetail Required

Pertinent information about the error

Show 3 properties Hide 3 properties

The error code.

The error message.

Extra information regarding this error.

Show value schema Hide value schema

[any key] any

A reference to the request that caused the error.

The HTTP status code

error object ErrorDetail Required

Pertinent information about the error

Show 3 properties Hide 3 properties

The error code.

The error message.

Extra information regarding this error.

Show value schema Hide value schema

[any key] any

A reference to the request that caused the error.

The HTTP status code

error object ErrorDetail Required

Pertinent information about the error

Show 3 properties Hide 3 properties

The error code.

The error message.

Extra information regarding this error.

Show value schema Hide value schema

[any key] any

A reference to the request that caused the error.

The HTTP status code

error object ErrorDetail Required

Pertinent information about the error

Show 3 properties Hide 3 properties

The error code.

The error message.

Extra information regarding this error.

Show value schema Hide value schema

[any key] any

A reference to the request that caused the error.

The HTTP status code

error object ErrorDetail Required

Pertinent information about the error

Show 3 properties Hide 3 properties

The error code.

The error message.

Extra information regarding this error.

Show value schema Hide value schema

[any key] any

A reference to the request that caused the error.

The HTTP status code

error object ErrorDetail Required

Pertinent information about the error

Show 3 properties Hide 3 properties

The error code.

The error message.

Extra information regarding this error.

Show value schema Hide value schema

[any key] any

A reference to the request that caused the error.

The HTTP status code