## Autogenerated by Scribe. DO NOT MODIFY. name: database-users description: '' endpoints: - httpMethods: - GET uri: 'api/projects/{project_id}/servers/{server_id}/database-users' metadata: groupName: database-users groupDescription: '' subgroup: '' subgroupDescription: '' title: list description: 'Get all database users.' authenticated: true custom: [] headers: Authorization: 'Bearer YOUR-API-KEY' Content-Type: application/json Accept: application/json urlParameters: project_id: name: project_id description: 'The ID of the project.' required: true example: 1 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] server_id: name: server_id description: 'The ID of the server.' required: true example: 29 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanUrlParameters: project_id: 1 server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 200 content: '{"data":[{"id":null,"server_id":null,"username":"letha64","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null},{"id":null,"server_id":null,"username":"hagenes.lurline","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' headers: [] description: '' custom: [] responseFields: [] auth: - headers - Authorization - 'Bearer d4g15bV3Pa6hDvck6eaEf8Z' controller: null method: null route: null custom: [] - httpMethods: - POST uri: 'api/projects/{project_id}/servers/{server_id}/database-users' metadata: groupName: database-users groupDescription: '' subgroup: '' subgroupDescription: '' title: create description: 'Create a new database user.' authenticated: true custom: [] headers: Authorization: 'Bearer YOUR-API-KEY' Content-Type: application/json Accept: application/json urlParameters: project_id: name: project_id description: 'The ID of the project.' required: true example: 1 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] server_id: name: server_id description: 'The ID of the server.' required: true example: 29 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanUrlParameters: project_id: 1 server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: username: name: username description: '' required: true example: qui type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] password: name: password description: '' required: true example: 'xYv*3,#HQ=5