## 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":"lavina.zemlak","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null},{"id":null,"server_id":null,"username":"hill.cassidy","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 a51dvD3akbfE4cV8eP6Zh6g' 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: tempore type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] password: name: password description: '' required: true example: '!jUv.BBc]X' 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: tempore password: '!jUv.BBc]X' host: '%' fileParameters: [] responses: - status: 200 content: '{"id":null,"server_id":null,"username":"irwin45","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] responseFields: [] auth: - headers - Authorization - 'Bearer D5e4ZPadV83k6afbcgE6h1v' 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: 29 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] databaseUser_id: name: databaseUser_id description: 'The ID of the databaseUser.' required: true example: 3 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanUrlParameters: project_id: 1 server_id: 29 databaseUser_id: 3 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 200 content: '{"id":null,"server_id":null,"username":"frederic.koss","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] responseFields: [] auth: - headers - Authorization - 'Bearer ah1f5d3kvcgaEZ6D4PV68eb' 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: 29 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] databaseUser_id: name: databaseUser_id description: 'The ID of the databaseUser.' required: true example: 12 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanUrlParameters: project_id: 1 server_id: 29 databaseUser_id: 12 queryParameters: [] cleanQueryParameters: [] bodyParameters: databases: name: databases description: 'Array of database names to link to the user.' required: true example: numquam type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: databases: numquam fileParameters: [] responses: - status: 200 content: '{"id":null,"server_id":null,"username":"georgiana.hand","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] responseFields: [] auth: - headers - Authorization - 'Bearer ka6g1eVc4avZbPfd85D36hE' 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: 29 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] databaseUser_id: name: databaseUser_id description: 'The ID of the databaseUser.' required: true example: 6 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanUrlParameters: project_id: 1 server_id: 29 databaseUser_id: 6 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 204 content: null headers: [] description: '' custom: [] responseFields: [] auth: - headers - Authorization - 'Bearer cV4g6dfP3vke5b18ZDa6ahE' controller: null method: null route: null custom: []