## 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: 3 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanUrlParameters: project_id: 1 server_id: 3 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 200 content: '{"data":[{"id":null,"server_id":null,"username":"nyasia68","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null},{"id":null,"server_id":null,"username":"madyson20","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 egc5VaDdvabfP6843k61hZE' 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: 3 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanUrlParameters: project_id: 1 server_id: 3 queryParameters: [] cleanQueryParameters: [] bodyParameters: username: name: username description: '' required: true example: dignissimos type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] password: name: password description: '' required: true example: OK+XEG2) type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] host: name: host description: 'Host, if it is a remote user.' required: true example: '%' type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: username: dignissimos password: OK+XEG2) host: '%' fileParameters: [] responses: - status: 200 content: '{"id":null,"server_id":null,"username":"amya.nitzsche","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] responseFields: [] auth: - headers - Authorization - 'Bearer 31hgfcvEb6Pkaa48D6dZ5Ve' controller: null method: null route: null custom: [] - httpMethods: - GET uri: 'api/projects/{project_id}/servers/{server_id}/database-users/{databaseUser_id}' metadata: groupName: database-users groupDescription: '' subgroup: '' subgroupDescription: '' title: show description: 'Get a database user by ID.' 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: 3 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] databaseUser_id: name: databaseUser_id description: 'The ID of the databaseUser.' required: true example: 4 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanUrlParameters: project_id: 1 server_id: 3 databaseUser_id: 4 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 200 content: '{"id":null,"server_id":null,"username":"bergstrom.ericka","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] responseFields: [] auth: - headers - Authorization - 'Bearer aDv48631h5af6EdkcVbPZeg' controller: null method: null route: null custom: [] - httpMethods: - POST uri: 'api/projects/{project_id}/servers/{server_id}/database-users/{databaseUser_id}/link' metadata: groupName: database-users groupDescription: '' subgroup: '' subgroupDescription: '' title: link description: 'Link to databases' 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: 3 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] databaseUser_id: name: databaseUser_id description: 'The ID of the databaseUser.' required: true example: 4 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanUrlParameters: project_id: 1 server_id: 3 databaseUser_id: 4 queryParameters: [] cleanQueryParameters: [] bodyParameters: databases: name: databases description: 'Array of database names to link to the user.' required: true example: accusantium type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: databases: accusantium fileParameters: [] responses: - status: 200 content: '{"id":null,"server_id":null,"username":"fmurray","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] responseFields: [] auth: - headers - Authorization - 'Bearer cf8ZPhV1k3d5DaEva46beg6' controller: null method: null route: null custom: [] - httpMethods: - DELETE uri: 'api/projects/{project_id}/servers/{server_id}/database-users/{databaseUser_id}' metadata: groupName: database-users groupDescription: '' subgroup: '' subgroupDescription: '' title: delete description: 'Delete 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: 3 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] databaseUser_id: name: databaseUser_id description: 'The ID of the databaseUser.' required: true example: 4 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanUrlParameters: project_id: 1 server_id: 3 databaseUser_id: 4 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 204 content: 'null' headers: [] description: '' custom: [] responseFields: [] auth: - headers - Authorization - 'Bearer hdEvkbaPVf4cZ65a8631eDg' controller: null method: null route: null custom: []