Create an allowed path

post/providers/{providerId}/allowedPaths

Creates an allowed path from the provided request.

Request Samples

1

Response Samples

1{
2 "id": "f3b4c8a1-5d2e-4a9b-8c7f-1e3d5a7b9c2f",
3 "path": "/data/shared/projects",
4 "createdBy": "sasjoe",
5 "modifiedBy": "sasjoe",
6 "creationTimeStamp": "2026-02-05T10:30:00.000Z",
7 "modifiedTimeStamp": "2026-02-05T10:30:00.000Z",
8 "version": 1,
9 "links": [
10 {
11 "method": "GET",
12 "rel": "self",
13 "href": "/dataSources/providers/Compute/allowedPaths/f3b4c8a1-5d2e-4a9b-8c7f-1e3d5a7b9c2f",
14 "uri": "/dataSources/providers/Compute/allowedPaths/f3b4c8a1-5d2e-4a9b-8c7f-1e3d5a7b9c2f"
15 },
16 {
17 "method": "PUT",
18 "rel": "update",
19 "href": "/dataSources/providers/Compute/allowedPaths/f3b4c8a1-5d2e-4a9b-8c7f-1e3d5a7b9c2f",
20 "uri": "/dataSources/providers/Compute/allowedPaths/f3b4c8a1-5d2e-4a9b-8c7f-1e3d5a7b9c2f"
21 },
22 {
23 "method": "DELETE",
24 "rel": "delete",
25 "href": "/dataSources/providers/Compute/allowedPaths/f3b4c8a1-5d2e-4a9b-8c7f-1e3d5a7b9c2f",
26 "uri": "/dataSources/providers/Compute/allowedPaths/f3b4c8a1-5d2e-4a9b-8c7f-1e3d5a7b9c2f"
27 },
28 {
29 "method": "GET",
30 "rel": "up",
31 "href": "/dataSources/providers/Compute/allowedPaths",
32 "uri": "/dataSources/providers/Compute/allowedPaths"
33 }
34 ]
35}

Path Parameters

NameTypeRequiredDescription
providerId
string
true

The ID for the provider.

Request Body

Allowed path to create. The path field is required and specifies the file system path that users are allowed to access.

Request body for creating an allowed path.

NameTypeRequiredDescription
path
string
true

The file system path that users are allowed to access.

Responses

StatusMeaningDescription
201Created

An allowed path was created.

HeadersSchema
400Bad Request

The request was invalid.

Schema
404Not Found

No provider exists at the requested path.

Schema
405Method Not Allowed

Allowed paths are only supported for the Compute provider.

Schema