diff --git a/info/projects.mdx b/info/projects.mdx index 79ff2f4..9faa245 100644 --- a/info/projects.mdx +++ b/info/projects.mdx @@ -25,7 +25,7 @@ A project must also be empty before it can be deleted — archive or remove its ## Scoping Requests to a Project -Pass the `X-Kernel-Project-Id` header — a project ID or name — on any API request to scope it to a specific project. Without the header (and without a project-scoped API key), requests act on your organization's **default project**: reads return the default project's resources, and writes create resources in it. +Scope a request to a project **by name** with the CLI's `--project ` flag or by setting the project on an SDK client — both look the name up and send the project's ID for you, so you never handle the raw ID. When calling the REST API directly, send that ID yourself in the `X-Kernel-Project-Id` header (the header takes a project ID, not a name). Without it (and without a project-scoped API key), requests act on your organization's **default project**: reads return the default project's resources, and writes create resources in it. ```bash curl https://api.onkernel.com/browsers \