## Modify project

`Project admin().organization().projects().update(ProjectUpdateParamsparams = ProjectUpdateParams.none(), RequestOptionsrequestOptions = RequestOptions.none())`

**post** `/organization/projects/{project_id}`

Modifies a project in the organization.

### Parameters

- `ProjectUpdateParams params`

  - `Optional<String> projectId`

  - `Optional<String> externalKeyId`

    External key ID to associate with the project.

  - `Optional<String> geography`

    Geography for the project.

  - `Optional<String> name`

    The updated name of the project, this name appears in reports.

### Returns

- `class Project:`

  Represents an individual project.

  - `String id`

    The identifier, which can be referenced in API endpoints

  - `long createdAt`

    The Unix timestamp (in seconds) of when the project was created.

  - `JsonValue; object_ "organization.project"constant`

    The object type, which is always `organization.project`

    - `ORGANIZATION_PROJECT("organization.project")`

  - `Optional<Long> archivedAt`

    The Unix timestamp (in seconds) of when the project was archived or `null`.

  - `Optional<String> externalKeyId`

    The external key associated with the project.

  - `Optional<String> name`

    The name of the project. This appears in reporting.

  - `Optional<String> status`

    `active` or `archived`

### Example

```java
package com.openai.example;

import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.admin.organization.projects.Project;
import com.openai.models.admin.organization.projects.ProjectUpdateParams;

public final class Main {
    private Main() {}

    public static void main(String[] args) {
        OpenAIClient client = OpenAIOkHttpClient.fromEnv();

        Project project = client.admin().organization().projects().update("project_id");
    }
}
```

#### Response

```json
{
  "id": "id",
  "created_at": 0,
  "object": "organization.project",
  "archived_at": 0,
  "external_key_id": "external_key_id",
  "name": "name",
  "status": "status"
}
```
