Skip to content

Commit

Permalink
fix(docs): invalid api links
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Nov 4, 2024
1 parent 4db5a47 commit b8fa656
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions content/docs/06.enterprise/03.tenants.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Multi-tenancy functionality is not visible to end-users from the UI except for t

![Tenants selection dropdown](/docs/enterprise/tenants.png)

The API URLs also include the tenant identifier. For example, the URL of the API operation to list flows of the `marketing` namespace is `/api/v1/flows/marketing` when multi-tenancy is not enabled. Once you enable multi-tenancy and create a tenant `prod`, this URL becomes `/api/v1/prod/flows/marketing`. You can check the [API Guide](../enterprise-api/index.md) for more information.
The API URLs also include the tenant identifier. For example, the URL of the API operation to list flows of the `marketing` namespace is `/api/v1/flows/marketing` when multi-tenancy is not enabled. Once you enable multi-tenancy and create a tenant `prod`, this URL becomes `/api/v1/prod/flows/marketing`. You can check the [API Guide](../api-reference/enterprise.md) for more information.

Tenants must be created upfront, and a user needs to be granted access to use a specific tenant.

Expand Down Expand Up @@ -130,7 +130,7 @@ create a tenant and assign admin roles to an existing admin user

### Creating a Tenant from the API

Tenants can be managed programmatically via Kestra's [API](../enterprise-api/index.md#post-/api/v1/tenants). Here is an example of an API call for creating a tenant:
Tenants can be managed programmatically via Kestra's [API](../api-reference/enterprise.md#post-/api/v1/tenants). Here is an example of an API call for creating a tenant:

```bash
curl -X POST "https://demo.kestra.io/api/v1/tenants" \
Expand Down
2 changes: 1 addition & 1 deletion content/docs/06.enterprise/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ curl -X POST http://localhost:8080/api/v1/executions/dev/hello-world \

## Browse the API Reference

For a full list of available API endpoints, check the [Enterprise Edition API Reference](../enterprise-api/index.md).
For a full list of available API endpoints, check the [Enterprise Edition API Reference](../api-reference/enterprise.md).
2 changes: 1 addition & 1 deletion content/docs/07.architecture/10.multi-tenancy.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ Multi-tenancy functionality is not visible to end-users from the UI except for t

The API URLs will also change to include the tenant identifier.

For example, the URL of the API operation to list flows of the `products` namespace is `/api/v1/flows/products` when multi-tenancy is not enabled, and becomes `/api/v1/production/flows/products` for the `production` tenant when multi-tenancy is enabled. You can check the [Enterprise Edition API Guide](../enterprise-api/index.md) for more information.
For example, the URL of the API operation to list flows of the `products` namespace is `/api/v1/flows/products` when multi-tenancy is not enabled, and becomes `/api/v1/production/flows/products` for the `production` tenant when multi-tenancy is enabled. You can check the [Enterprise Edition API Guide](../api-reference/enterprise.md) for more information.

Tenants must be created upfront, and a user needs to be granted access to use a specific tenant.
2 changes: 1 addition & 1 deletion content/docs/08.ui/07.administration/08.tenants.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Under **Authentication**, you can set the users password, or authentication type

#### API Token

You can also generate [API Tokens](../../06.enterprise/api-tokens.md) for users for authenticating with the [Kestra API](../../enterprise-api/index.md).
You can also generate [API Tokens](../../06.enterprise/api-tokens.md) for users for authenticating with the [Kestra API](../../api-reference/enterprise.md).

![Tenent Edit Users API Token](/docs/user-interface-guide/tenants-edit-users-api-token.png)

Expand Down

0 comments on commit b8fa656

Please sign in to comment.