Organization
Folder
Create folder in organization
Changed onCreate a new folder in the organization library.
post/v1/organizations/{organizationRef}/folders
Request
- Base URL: https://example.com/api
- URL: https://example.com/api/v1/organizations/{organizationRef}/folders
- Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token; client credentials, token URL /oauth/token; password, token URL /oauth/token, scopes: organization, document)
Request body
Example request
{
"name": "Guides",
"parent_id": "9bsv0s46s6s002p9ltq0"
}Response
Created
Example response
{
"id": "9bsv0s46s6s002p9ltq0",
"name": "Guides",
"library": {
"id": "9bsv0s46s6s002p9ltq0",
"name": "Product"
},
"parent": {
"id": "9bsv0s46s6s002p9ltq0",
"name": "Guides",
"parent_id": "9bsv0s46s6s002p9ltq0"
},
"created_by": {
"id": "9bsv0s46s6s002p9ltq0",
"first_name": "Test",
"last_name": "User",
"picture": "https://example.com/users/my-user.png"
}
}Changes
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info